cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ITManuel
Helper V
Helper V

Column granularity in matrix

Hi,

 

I have a matrix with a Year/Months Hierarchy on the columns. 

Column granularity in Matrix.JPG

 

Is there any possiblity to show the current year 2021 with current Year/Months hierarchy and any following years starting from 2022 only on the year level?

 

Best regards

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@ITManuel , You need to create a new column like

 

if([Date] >date(year(today()),12,31) , "All", [Month] )

 

This will group all month into one group

View solution in original post

PaulDBrown
Super User
Super User

Option 1: You can manually hide the month columns by dragging the right column boundary (you need to turn off word wrap in the formatting options) for each of the redundant months

 

Option 2: create a custom matrix layout:

https://community.powerbi.com/t5/Community-Blog/Creating-a-custom-or-hybrid-matrix-in-PowerBI/ba-p/1... 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

2 REPLIES 2
PaulDBrown
Super User
Super User

Option 1: You can manually hide the month columns by dragging the right column boundary (you need to turn off word wrap in the formatting options) for each of the redundant months

 

Option 2: create a custom matrix layout:

https://community.powerbi.com/t5/Community-Blog/Creating-a-custom-or-hybrid-matrix-in-PowerBI/ba-p/1... 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






amitchandak
Super User
Super User

@ITManuel , You need to create a new column like

 

if([Date] >date(year(today()),12,31) , "All", [Month] )

 

This will group all month into one group

Helpful resources

Announcements
Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors