Forum Discussion
Calculation groups & Column Hierarchy
- 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.
Hi Ahmed-Elfeel
I have created another topic on the forum for my issue of column totals with Calculated groups & Parameter data field.
I have also attached a PBIX file where people can show me if it is possible to make the column grand total appear when you are using parameter, and you are at the lowest of a column hierarchy with calculated groups
So if you want to participate to the challenge and show me if it is possible I will appreciate
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.
- PierreL699 months agoHelper IV
I thought it was kind of clossed already because I accepted the solution for my first issue.
Sorry, I will close it thanks.
- PierreL699 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.