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
alxmti
Frequent Visitor

Pivot column - Dont aggregate

Hi,

 

i've got these three columns like in the attach.

Column two needs to be transformed into Pivot Column, but I get error when doing so.

 

There was a topic here and a guy said it all columns should be promoted as text, didnt solve it though, or I didnt understand him.

 

Regards

 

Capture.JPG

1 ACCEPTED SOLUTION

thanks for the hints.

 

the solution is withing this video (although he uses two columns only, it works with a third).

 

https://www.youtube.com/watch?v=B9_jHZrmkHo

View solution in original post

2 REPLIES 2
MarcelBeug
Community Champion
Community Champion

Only the Pivot column needs to be text; however if you use the menu-option to pivot on a non-text column, the generated code will take care of the transformation to text. Then again: it is not the most nice-looking code, so I would recommend to transform the pivot column to text before pivoting.

 

You have duplicates. This is not allowed with option "Don't aggregate".

Specializing in Power Query Formula Language (M)

thanks for the hints.

 

the solution is withing this video (although he uses two columns only, it works with a third).

 

https://www.youtube.com/watch?v=B9_jHZrmkHo

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.