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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Ninabob5
Frequent Visitor

Help with grouping values in matrix

I am building a Paginated Report where information must be filtered by the company name, the issue is:

 

I need to group the rows by date (format MMMM YYYY)and the columns have to be in a specific order, the way they are being displayed now is by alphabetical order.

 

Ninabob5_0-1687445896210.png

 

This is how the matrix is created:

 

 

Ninabob5_2-1687445978733.png

 

 

Any help will be appreciated as I've working on this for days and want to get it over with.  Thanks!

 

 

1 REPLY 1
d_gosbell
Super User
Super User

To fix this you would need to add a sort by column to your date table. I usually use something like YYYYMM as an integer for sorting months. Then add this column to your query and either add an ORDER BY to your query (which is usually more efficient as it will do the sorting at the data source) or set the sorting on the dataset in Report Builder

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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