Forum Discussion
DAX Calculations
- 6 years ago
Hi Anonymous ,
Sorry to reply late.
It is suggested to enter data to create a MeasureName table.
And then create measures like so:
Sum = SWITCH ( SELECTEDVALUE ( MeasureTable[MeasureName] ), "AUE", [AUE], "AUM", [AUM], "BUVE", [BUVE], "LPVKBW", [LPVKBW], "NU", [NU], "FOWE", [FOWE], "FOMI", [FOMI] )Sum% = SWITCH ( SELECTEDVALUE ( MeasureTable[MeasureName] ), "AUE", [AUE]/100000, "AUM", [AUM]/100000, "BUVE", [BUVE]/100000, "LPVKBW", [LPVKBW]/100000, "NU", [NU]/100000, "FOWE", [FOWE]/100000, "FOMI", [FOMI]/100000 )Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
Is this what you want?
If so, just turn on "Show on rows" icon in the Matrix's Value field.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous6 years agoNot applicable
Hello Icey ,
This is going in the direction i want it to be, thank you. Can you tell me if i can now get a heading for these columns? And what if i need another column? Like the % of the value (value / X)?
Regards,
Dennis
- Icey6 years agoCommunity Support
Hi Anonymous ,
Sorry to reply late.
It is suggested to enter data to create a MeasureName table.
And then create measures like so:
Sum = SWITCH ( SELECTEDVALUE ( MeasureTable[MeasureName] ), "AUE", [AUE], "AUM", [AUM], "BUVE", [BUVE], "LPVKBW", [LPVKBW], "NU", [NU], "FOWE", [FOWE], "FOMI", [FOMI] )Sum% = SWITCH ( SELECTEDVALUE ( MeasureTable[MeasureName] ), "AUE", [AUE]/100000, "AUM", [AUM]/100000, "BUVE", [BUVE]/100000, "LPVKBW", [LPVKBW]/100000, "NU", [NU]/100000, "FOWE", [FOWE]/100000, "FOMI", [FOMI]/100000 )Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.