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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Dixy
Frequent Visitor

How to change Columns & Values hierarchy in Matrix Visual ?

In my Matrix Visual I am getting the data like following - is it possible to change it as shown in my table below where 1st level classification  is Section and then Group? 

Current State : 

Dixy_1-1732226532360.png

 

Desired Result : 

Dixy_2-1732226655787.png

 

Data :

 

AttributeDarkLiveSection 1Section 2Section 3Group
B 2761Group1
B_DarkDark2761Group1
B_LiveLive000Group1
B 2212526Group2
B_DarkDark2212526Group2
B_LiveLive000Group2
A 14010425Group1
A_DarkDark14010225Group1
A_LiveLive020Group1
A 9313118Group2
A_DarkDark9313118Group2
A_LiveLive000Group2
1 ACCEPTED SOLUTION
Dixy
Frequent Visitor

I was able to change the data model and that got the data in required format. 

View solution in original post

2 REPLIES 2
Vallirajap
Resolver III
Resolver III

Hii @Dixy

Using a power query editor to achieve this one 
Select Transform Date -> In the power query editor, select the section 1, section 2, and section 3 columns, and select the unpivot columns in the Transform pane. Now the data is like below. 

Vallirajap_1-1732251440232.png

Select close and apply to upload the data.

 

Then choose the matrix table visual.

1. Row field: choose Attributes column

2. Column field: first select the section column; next select the group column.

3. Values filed: select the value column. 

 

Now the matrix table is displayed below as per your need.

Vallirajap_0-1732251413157.png

 

I hope it is helpful, Accept it as Solution to help other members find it. Appreciate your Kudos!

 

Dixy
Frequent Visitor

I was able to change the data model and that got the data in required format. 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors