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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
ejsoccer5
Regular Visitor

Collapse month columns on matrix for previous years and expand months on current year column

I'm trying to show a matrix of paid date (rows), and service date (columns). I can collapse and expand on the rows like usual, but I'm trying to have the columns collapse when it's a previous year and expand when it's the current year. 

 

The columns would be year > month to expand to. Looking to do the below visual (pivot in Excel) in PowerBI 

 

ejsoccer5_0-1706793806384.png

 

3 REPLIES 3
Anonymous
Not applicable

Hi @ejsoccer5 

 

Can you tell me if your problem is solved? If yes, please accept it as solution.

 

Regards,

Nono Chen

Anonymous
Not applicable

Hi @ejsoccer5 

 

@amitchandak Good share!

 

Based on the image you sent, it looks like you want to create a matrix with collapsible columns based on the year and month of the service date. However, this functionality is not available in the native PowerBI Matrix visual as you can only freely expand or collapse rows, not columns.

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@ejsoccer5 , I doubt with standard matrix. You can check custom visual
https://appsource.microsoft.com/en-us/marketplace/apps?search=matrix&page=1

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.