Forum Discussion

amitm's avatar
amitm
New Member
8 years ago
Solved

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

  • Anonymous's avatar
    Anonymous
    8 years ago

    amitm,

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



    Regards,
    Lydia

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    amitm,

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



    Regards,
    Lydia

    • amitm's avatar
      amitm
      New Member

      Thank you very much. Superb. Truly helpful.