dependency error in the measure

illusionek

Board Regular
Joined
Jun 21, 2014
Messages
104
Hello

I have a data model/PowerPivot, which I have been using for few months and all was working well until this morning.

All of the sudden I have a number of measures that worked well last week but today come up with an error: "dependency error in the measure" even though I have not changed calculations at all.

I have a Table1 with my sales data and below measure goes into error:


Code:
=SUMX('Table 1','Table 1'[Order Qty]*'Table 1'[Sales Price])

The Sales Price is taken from each row in Table 1 and Order Qty is another measure in the model, which is working fine:

Code:
SUM('Table 1'[Ordered Qty])


As far as I can see only iteration functions seem to be affected by the dependency error. Any ideas what could happen?
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Any thoughts on this?

I found a temporary solution where I amended SUMX where I replaced measure Order Qty with Ordered Qty which is a value from a table. However it has been working fine for a really long time so I would love to understand whats changed. Also in the past I read it is better to use measures for all calculations rather then values directly from tables, so thats the reason I created them in the first place


Many thanks
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,605
Members
449,089
Latest member
Motoracer88

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