Forum Discussion
PierreL69
9 months agoHelper IV
Calculation groups & Column Hierarchy
Hi the community, Not sure if I posted in the right section. Anyway I opening this conversation beacuse I did not find any related topic through the research I did. I have created a calculation...
- 9 months ago
Hi PierreL69,
I have 3 Approaches For you 😀❤️
First One : Enable "Show Items with No Data"
Select your matrix visual
Go to Format pane → Values section
Turn ON "Show items with no data"
This often forces Calculation Groups to appear at all levels
Second Approach:
- Instead of using the automatic date hierarchy, add columns individually, In your matrix columns field:
Year Quarter Month Calculation Group- This creates a flat structure where the Calculation Group is always visible at every level.
Third Approach :
Modify your calculation items to handle different hierarchy levels (DAX):
Sales Amount Calc = SWITCH(TRUE(), ISINSCOPE('Date'[Month]), [Sales Amount], ISINSCOPE('Date'[Quarter]), [Sales Amount], ISINSCOPE('Date'[Half]), [Sales Amount], [Sales Amount] )Bonus Approach :
- Create a field parameter for your time hierarchy and use it alongside the Calculation Group in columns.
if this post helps, then I would appreciate a thumbs up and mark it as the solution to help the other members find it more quickly.
v-sshirivolu
9 months agoCommunity Support
Hi PierreL69 ,
Thanks for the update. Since you’ve created a new thread for this issue, could you please close this one? It makes it easier for everyone to follow the discussion in one place.
Thanks.
PierreL69
9 months agoHelper IV
But how can I closed it, as I already accepted a solution in this topic ?
- v-sshirivolu9 months agoCommunity Support
Hi PierreL69 ,
Once a solution is accepted, the thread is already considered closed. Thanks for confirming.