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

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
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.