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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Transforming unique values into their own columns

I'm working on building a Power BI, but running into an issue with one of the columns of data. I need to know how to transform a column of data that contains specific repeating values into their own columns. I have to make sure the rows of data tied to each value follow whenever I transform it.

 

Example: I need to have No Issue and Pick and Pack be their own columns. I'm needing to split them up so I can create pie charts, line graphs, etc. for each pick path without pulling in data for all pick paths at once. I'll be updating this daily, so splitting them into their own columns might not be the best option. Any suggestions would be much appreciated. 

 

78fa60d4-7b2d-465f-b8bd-2964e8be0b98.jpg

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , For pie you do need them as row values not column

 

The column you have to create new columns like

in power query

if [Pick Path] ="No Issue" then [Pick Path]

 

Unpivot does not seem like an option because of data

https://radacad.com/pivot-and-unpivot-with-power-bi

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors