Forum Discussion
How can i get grand totals when using SWITCH
- 5 years ago
Did you try the measure I posted? It will return the correct totals by row and the grand total. If you want to keep the measure name you can either use the code from your measures in the expression (instead of the measure itself) or just change the names of the nee measures. You can apply the same syntax for the other measure.
If the measure I posted doesn't work, try this:With Totals =
SUMX(SUMMARIZE( Table, Table [ Row labels], "@total", [Tangible assets revenue]), [@total])
Did you try the measure I posted? It will return the correct totals by row and the grand total. If you want to keep the measure name you can either use the code from your measures in the expression (instead of the measure itself) or just change the names of the nee measures. You can apply the same syntax for the other measure.
If the measure I posted doesn't work, try this:
With Totals =
SUMX(SUMMARIZE( Table, Table [ Row labels], "@total", [Tangible assets revenue]), [@total])
aha now i got it you mean i use my measure as intermediate measure to get the result i need