Measure Values Don't Calculate Correctly after Refresh

Jerid421

New Member
Joined
Jan 10, 2014
Messages
12
I used the RELATED formula to to create a Calculated Column called fact_ActualsOrders_ES[Accrual] or "Accrual":

=IF(related(dim_posting[doc_type_cd])="YK",1,0)

The values came over correctly, so I created (3) measures to calculate the the total amount, all the "1"s, and all the "0"s:

Measures: DAX Fx:
TotalActuals: 87260798.67 TotalActuals:=SUM([amount])
RealActuals: 81663153.41 RealActuals:=CALCULATE(SUM(fact_ActualsOrders_ES[amount]), fact_ActualsOrders_ES[Accrual]=0)
Accruals: 5597645.26 Accruals:=CALCULATE(SUM(fact_ActualsOrders_ES[amount]), fact_ActualsOrders_ES[Accrual]=1)

Everything worked perfectly. Then I refresh the data and the "Accruals" measure becomes 0, even though there are still many "1"s in the "Accrual" Calculated Column. Also, the "Total Actuals" and "Real Actuals" become equal.

Can anyone explain this behavior? Refreshing the data shouldn't change the value of the measures in this way.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,214,918
Messages
6,122,246
Members
449,075
Latest member
staticfluids

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