Forum Discussion
Selectively display Subtotal
AlexisOlson parry2k How can I selectively display subtotal for a measure (with or without CalGrp) ; Currently I am doing this
PFA Sample
Thank you in advance
I'm not sure I fully understand what you want the output to be (a bunch of blank total lines?) but I would try ISINSCOPE instead of HASONEVALUE.
5 Replies
- AlexisOlsonSuper User
I'm not sure I fully understand what you want the output to be (a bunch of blank total lines?) but I would try ISINSCOPE instead of HASONEVALUE.
- lbendlinSuper User
This is a blind spot - if a parent category only has one child the HASONEVALUE is ineffective.
Have you considered selectively disabling the row total for that category?
- lbendlinSuper User
Yeah, ISSUBTOTAL function (DAX) - DAX | Microsoft Learn has its own limitation. You can't use it to sense where in the visual you are.
- AnonymousNot applicable
Hi smpa01 ,
Thanks for the reply from AlexisOlson / lbendlin .
Have you tried using the function provided by AlexisOlson ?
Did it help you solve the problem?
If yes, please accept his answer as the solution, which will be of great help to users who encounter similar problems as yours.
If you have any further questions, please feel free to contact me.
Best Regards,
Yang
Community Support Team