Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
ITManuel
Responsive Resident
Responsive Resident

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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

PaulDBrown
Community Champion
Community Champion

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
Community Champion
Community Champion

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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!