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

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

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