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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply

Rows data to columns

Hi All,

 

Can some one help me to get the below row data into columns as in the picture. i have tried using the Pivot. its not working for multiple columns for the same total.

Data Sample:1

 

Unpivot.jpg

 

Pivot in excel:

Pivot.jpg

 

Data For working:

IDNameSLSSL Revenue 
101XYZAdvisoryPAS.                                     -  
101XYZAssuranceAudit                           21,657
101XYZAssuranceFAAS                                     -  
101XYZCBS & ElimITTS (Elim)                         163,993
101XYZCBS & ElimPAS (Elim)                                     -  
101XYZTASCorporate Finance                                    75
101XYZTASITTS (in TAS)-                       163,993
101XYZTASStrategy and Operations                                     -  
101XYZTASTD - Transaction Diligence                           12,806
101XYZTaxBTS                           11,227
101XYZTaxGCR                           11,904
101XYZTaxIndirect                           13,013
101XYZTaxInternational Tax Transaction Services-                       163,993
101XYZTaxPAS                                     -  
1011ABCAdvisoryPAS.                           12,506
1011ABCCBS & ElimITTS (Elim)-                            1,998
1011ABCCBS & ElimPAS (Elim)-                          12,506
1011ABCTASITTS (in TAS)                              1,998
1011ABCTaxGCR                           36,497
1011ABCTaxIndirect                              4,477
1011ABCTaxInternational Tax Transaction Services                              1,998
1011ABCTaxPAS                           12,506
3 REPLIES 3
v-kelly-msft
Community Support
Community Support

Hi @RanjanThammaiah

 

Matrix is a best choice as suggested by @mussaenda ,have you tried it?Is your issue solved?

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
 
mussaenda
Super User
Super User

Hi @RanjanThammaiah,

 

you can use matrix table to meet your requirements

2020_02_15_10_32_21_.png

vivran22
Community Champion
Community Champion

Hello @RanjanThammaiah 

 

Not sure what you are trying to achieve. Are you trying to transform the data table into the displayed pivot table structure (with two-row headers, minus the total)?

 

Regards,
Vivek

https://www.vivran.in/

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors