Wrong results when "add to Data Model" is enabled.

Yulyo

Board Regular
Joined
Jul 17, 2017
Messages
94
Hello all,

I am a total newbie with power query, but i just wanted to to some "simple" things:
- new query / from file
- deleted some columns, add a sum column, replace null with zero, change type as whole number
- close and load to: table + existing worksheet + add this data to the data model

After the query is executed i have the following results (See attached image):
- power query = data is correct
- resulted table and power pivot = wrong data

If i don't add the data to data model, everything is fine...
Am i doing something wrong? The entire scope is to be able to have a final column with stock (yesterday stock + today's production - today's export).

Thank you in advance.
 

Attachments

  • tst.png
    tst.png
    205.3 KB · Views: 16

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Did you ever sort this out ?
Issues with data model typically have something to do with the relationships. Have you checked the Diagram view for incorrect connections or missing connection ?
 
Upvote 0

Forum statistics

Threads
1,223,723
Messages
6,174,113
Members
452,545
Latest member
boybenqn

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