data model

  1. A

    Data Model Table Relationships

    I have a table that has a primary key that is common in several other tables. The "WBS" table has the primary key of "WBS Code" which is related to a WBS foreign key in many other tables (Estimates, commitments, Time Phased Data, progress, etc...) I having trouble getting the model to see the...
  2. D

    Error "Couldn't get data from the Data Model"

    I keep getting the following error when I try to refresh a pivot table (not Power Pivot). "We couldn't get data from the Data Model. Object reference not set to an instance of an object". I tried re-selecting the data source, but would get the same error message. I checked to see that I have...
  3. F

    How to disable a pivot table from a data model, Excel 2016

    When I create a pivot table, the default setting in the box “Add this data to the Data Model” was checked. The consequence is that creating calculated field (and items) and grouping is disabled. I have now changed the default setting. My problem is that I have many pivot tables (mostly by...
  4. D

    Convert time based VLOOKUP to DAX formula

    My current formula is below with an explanation of my data: Would it be possible to write this in DAX? =IFERROR(VLOOKUP(K2,K3:M40000,IF($M:$M=0,2,3),FALSE),"01/01/2010") Column K = A Unique Value i.e Product 1, Product 2, Product 3 etc….. Column L = Dates in order of newest to oldest Column M...
  5. S

    Pivot tables

    Hi everyone, I need some ideas in how to work pivot tables to show what I want. I an working on a dashboard in which I separated the calculations in month to date and year to date. After that i organized the pivot tables to show just the results. The deal is i dont want to create two sheets for...
  6. L

    Data Model not pulling in all line items

    Hello, I have been using pivot tables w/ data models for a long time, but suddenly my pivot is no longer pulling in data from all line items. When I use the exact same data range for two otherwise identical pivot tables (on with and one without a data model), the line count is significantly...
  7. L

    Data Model damaged in all workbooks

    I use Office 2013, and often create pivot tables that require I check off the "Add this data to the Data Model" box when selecting the data range. I know that this can only be done in an excel workbook (and not a CSV, etc.) and have never had an issue building this table before. Suddenly, every...
  8. A

    Hide tables connected to sharepoint / or how to disable Pivot Table?

    Here it the thing. I have workbook that connected to SharePoint lists and file and intended to end-user. Data flow from SP goes to hidden sheets (very hidden via VBA). Then kicks in some modeling and transformation and data loaded to Data Model (Pivot table) only clean and what allowed to see...
  9. M

    AttributeID ... doesn't exist in the collection

    Has anyone seen this? I'm not even sure where to start troubleshooting. The 'AttributeRelationship' with 'AttributeID' = 'Week Start Date (Month Index)' doesn't exist in the collection.
  10. G

    Add Data to Data Model to use with a Slicer

    I have created a dashboard that has several graphs incorporated. I would like to add one slicer that I can connect to all of the graphs. I have gone into connections in the past and added the different graphs but with this current dashboards I haven't added the pivot tables to the data model so...
  11. A

    Average of PivotChart values from a Data Model

    Hi All, I have searched the forums far and wide to try and find a solution but have come up empty. I am currently using PowerQuery to bring in some SQL data, perform some transforms and then load it into a data model using Power Pivot. I have created some custom columns to do some calculations...
  12. C

    Error message when trying to 'Add to data model' in Excel 2013

    I have made the most simple of pivot tables simply so that I can use all the fields with another one in a powerpivot but keep getting this error message: 'The selected range is invalid. Select a valid range. A table cannot overlap a range that contains a PivotTable report, query results...
  13. O

    power pivot wont refresh

    hello everyone, i have a huge problem and i hope you can help. i'm using excel 2013 and i bulit a very big excel that has about 20 pivot tables. when i built them i used the "add this data to Data Model" option and now i send this file to a client for him to use. the client is using excel...
  14. E

    Funky Power Query / PowerPivot Bug

    Hello all, I have trawled the internet (including this forum) for a solution I could not find. Sorry if it's buried somewhere in the forums here and I simply wasn't thorough enough. I've been working on three different workbooks that build out a model R.data -> PQ -> PP -> dashboards. All were...
  15. C

    Add a PivotTable using VBA and adding to the Data Model

    Hi I want to set a pivottable and also use the DataModel feature (Excel 2013) If I record the VBA I get the code I need however it is set to the specific sheet Sub Macro4()' ' Macro4 Macro ' ' Workbooks("April 2015 - orderDATA.xlsx").Connections.Add2 _...
  16. B

    Calculating Variance Between Two Tables in a Data Model

    Hello, I have two tables in Excel 2013: Actual & Forecast. Both tables have the following similar columns: Period, Account, Amount. I've included them in a Pivot Table Data Model and would like to calculate a variance between Actual[Amount] and Forecast[Amount]. I'm unable to utilize the...
  17. V

    VBA custom data model problem: define array of one class as public member of another class

    Hello, I am trying to setup a data architecture for VBA based business simulator. There will be more devs in few weeks but for now I am the lead, tasked with initial project setup. General question is: what would you advice for a definition of custom class, holding a public array of variable...
  18. P

    Multiple relationships between two tables

    Hello all. I have a staff list with unique IDs. Each staff member can be a team member, a team leader or a supervisor. To make it slightly more complicated, an individual can be a member of one team and a leader for another – but let’s park that for now. </SPAN> I need to produce a team sheet...
  19. P

    Replace/update tables in data model without upsetting relationships

    Hello everyone. I’m creating a simple management tool for a number of teams in the form of a standalone Excel 2013 workbook for each team leader, working on a standalone PC. The tool comprises three tables, each on a separate worksheet. These tables are added to the data model and used as...
  20. L

    Selecting specific Table fields with a data connection

    Hi all, i am creating data connections between excel files in order to import tables of data from one file to the next. I have been successful so far at importing and refreshing such imported tables. however, one of my source tables is quite large and i do not need all of the fields each time...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top