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! Request now

Reply
paw1
Helper I
Helper I

Pivot Option in power bi backend

Hi,

 

Can any one please help me on below requirement. I have a source like below. Please help me to pivot status and Date columns like in expected output in power query editor. I can see only unpivot option in power query.

 

Input:

 

Main IDstep nostatusDate
1110On Hold14/11/2022 08:29:05
1110Resumed14/11/2022 08:29:10
1110Complete14/11/2022 08:29:15
1110Started14/11/2022 08:29:00
1123Started14/11/2022 09:29:00
1123Complete14/11/2022 09:35:00

 

Expected output:

 

Main IDstep noOn Hold statusResumed statusComplete StatusStarted Status
111014/11/2022 08:29:0514/11/2022 08:29:1014/11/2022 08:29:1514/11/2022 08:29:00
1123  14/11/2022 09:35:0014/11/2022 09:29:00
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @paw1 ,

 

I think you can select [Status] column and use "Pivot Column" function.

RicoZhou_0-1676279177427.png

You can find it from Transform > Pivot Column in Power Query Editor.

RicoZhou_0-1676279364464.png

Result is as below.

RicoZhou_1-1676279196252.png

 

Best Regards,
Rico Zhou

 

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

1 REPLY 1
Anonymous
Not applicable

Hi @paw1 ,

 

I think you can select [Status] column and use "Pivot Column" function.

RicoZhou_0-1676279177427.png

You can find it from Transform > Pivot Column in Power Query Editor.

RicoZhou_0-1676279364464.png

Result is as below.

RicoZhou_1-1676279196252.png

 

Best Regards,
Rico Zhou

 

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

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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