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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

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
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.