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
kailas684
Regular Visitor

Transpose partially and keep key column uniquness on rows..

I am trying to achieve below transpose where I need to keep Key column (account#) with unique rows and other Type column to be transposed/pivot with amount column falling under right column. Appreciate suggestions/inputs here.

 

Transpose_one_column.JPG

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

Hi@ kailas684

After my research , you can use pivot column function in edit queries like below:

 

Step 1:

Click Edit Queries and then select column Type and column Amount

 

Step 2:

Click Transform->Any Column ->Pivot Column

14.png15.png

 

Advanced options->Aggregate Value Function->Dont Aggregate

 

Result:

16.png

 

 

Best Regards,

Lin

Community Support Team _ Lin
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-lili6-msft
Community Support
Community Support

Hi@ kailas684

After my research , you can use pivot column function in edit queries like below:

 

Step 1:

Click Edit Queries and then select column Type and column Amount

 

Step 2:

Click Transform->Any Column ->Pivot Column

14.png15.png

 

Advanced options->Aggregate Value Function->Dont Aggregate

 

Result:

16.png

 

 

Best Regards,

Lin

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

Thanks Lin. It worked. Appreciate your help.

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.