Forum Discussion
Total for measure
I know many of them have a similiar problem, but the other posts do not help me. Maybe you can have alook at this:
I created two measures:
AgeingDays_Meas =
VAR ageingDate = MIN('dwh dimDate'[Date])
VAR dueDate = SELECTEDVALUE('dwh factCustomerTransactions'[DueDate])
VAR differenz = DATEDIFF(ageingDate,dueDate,DAY)
RETURN differenzTest = IF([AgeingDays_Meas]>0,IF([AgeingDays_Meas]<31,[AmountInEuro_Meas],BLANK()),BLANK())
Then I put them in a table:
I understand why there is no total for test, But is there a possiblity to have it for test?
Thanks in advance.
2 Replies
- Greg_DecklerCommunity Champion
kagu First, please vote for this idea: https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e
This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Also: https://youtu.be/uXRriTN0cfY
And: https://youtu.be/n4TYhF2ARe8 - kaguFrequent Visitor
Thanks for the answer. But it does not work.
I need the agingDays_Meas which is based on a selected value. And I can not create a colum with it, so that I can filter for sumx.
Do you have another idea?