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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
yaswanth
Regular Visitor

How to group column headers by type in a matrix visual ?

Hi, I am trying to achieve something like this 

 

yaswanth_1-1592979459555.png

 

 

But I am only able to do this in Power BI using the matrix visual.

yaswanth_2-1592979540298.png

 

I want all quantity columns on one side and all price columns on another side. How do I group the columns by type?

 

My data is in this format.

 

DateRegionItem NameMaterial CodeGR QuantityGR Price
      
      
      
      
2 REPLIES 2
v-alq-msft
Community Support
Community Support

Hi, @yaswanth 

 

I'd like to suggest you refer to the following similar thread to see if it help. The pbix file is attached in the end.

Group measures in a Matrix under a custom heading 

 

Best Regards

Allan

 

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

@yaswanth , That is not possible as of now

But you can refer alternates

https://www.daxpatterns.com/dynamic-segmentation/
https://community.powerbi.com/t5/Desktop/Matrix-Display-Values-above-Columns/td-p/256905
https://community.powerbi.com/t5/Desktop/grouping-measure-results/td-p/456795

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors