Forum Discussion
Blank Measure Total
Anonymous , Because you have used the row context. Based on the visual group by you need to use values/summarize to get grand total
Sumx(
Summarize('NETWORK EXPANSIONS PROJECTS', 'NETWORK EXPANSIONS PROJECTS'[RFS IND] ,"_new",[BRR VS PRE-RFS AVERAGE]) ,[_new] )
- Anonymous4 years agoNot applicable
Hi amitchandak,
Thanks for the response.
I'm finding that both your suggested DAX and the solution from the YouTube link you provided are both not seeming to work for me.BRR VS PRE-RFS AVERAGE TOTAL = SUMX( SUMMARIZE('NETWORK EXPANSIONS PROJECTS','NETWORK EXPANSIONS PROJECTS'[RFS.IND], "_new", [BRR VS PRE-RFS AVERAGE]) , [_new])
Result (no total):
YouTube solution:BRR VS PRE-RFS AVERAGE TOTAL = IF( HASONEVALUE('CALENDAR'[DATE]) ,[BRR VS PRE-RFS AVERAGE] ,SUMX(VALUES('CALENDAR'[DATE]), [BRR VS PRE-RFS AVERAGE]) )
Result (wrong values):
My sample file is attached if it helps at all:
https://www.dropbox.com/s/h3kbeqwxeet2qcx/Power%20BI%20Issue.pbix?dl=0
Thanks for the assistance,
Jake- Anonymous4 years agoNot applicable
Hi Anonymous
I suggest you to add a year and a month column in calendar table instead of using time intelligence. Then try this code.
BRR VS PRE-RFS AVERAGE TOTAL = SUMX( SUMMARIZE('CALENDAR','CALENDAR'[Year],'CALENDAR'[Month], "_new", [BRR VS PRE-RFS AVERAGE]) , [_new])Result:
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous4 years agoNot applicable
Anonymous, thanks very much for the suggestion - this answer is very close.
It is summing the values like I need but it is providing YTD cumulative totals rather than a life-to-date cumulative total - do you know how to achieve this?
Kind regards,
Jake