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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
amitm
New Member

Sub Group under main group

I am a new user of Power BI

 

Can someone help creating data subgroup under main group like below pivot output

 

Sum of RevenueSum of RevenueGrand Total22075Grand Total22075

Existing Data  Required Output Required Output
PrinCodeAgentCodeRevenue    
Principal 1Agent A27 Row LabelsTotal Row LabelsTotal
Principal 1Agent B126 Agent A6144 Principal 1262
Principal 1Agent C43 Principal 193 Agent A93
Principal 1Agent A66 Principal 21728 Agent B126
Principal 2Agent C390 Principal 33943 Agent C43
Principal 2Agent C4376 Principal 4380 Principal 26494
Principal 2Agent A654 Agent B10798 Agent A1728
Principal 2Agent A876 Principal 1126 Agent C4766
Principal 2Agent A198 Principal 32729 Principal 36672
Principal 3Agent B2387 Principal 47943 Agent A3943
Principal 3Agent B342 Agent C5133 Agent B2729
Principal 3Agent A678 Principal 143 Principal 48647
Principal 3Agent A3265 Principal 24766 Agent A380
Principal 4Agent A124 Principal 4324 Agent B7943
Principal 4Agent A256  Agent C324
Principal 4Agent B7689    
Principal 4Agent B254      
Principal 4Agent C126      
Principal 4Agent C198      
  22075      

 

Thank you in advance

1 ACCEPTED SOLUTION
v-yuezhe-msft
Employee
Employee

@amitm,

Create Matrix visuals as below in Power BI Desktop, and use the highlighted button to expand the Matrix visuals.1.JPG2.JPG



Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yuezhe-msft
Employee
Employee

@amitm,

Create Matrix visuals as below in Power BI Desktop, and use the highlighted button to expand the Matrix visuals.1.JPG2.JPG



Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you very much. Superb. Truly helpful.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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