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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How can I pivot a column and show the dates associated with it?

I have some data, shown below, that has repeating values in the Process Step column: Upload, Approve, Forward. I also have a Status Change Date column, the date when the change occurred

 

 

jsauerla_0-1613673808653.png

 

My objective is to pivot column E Process Step so that Upload, Approve, Forward are column headers, like shown below:

 

jsauerla_1-1613674031890.png

 

Do I need to create a new table and do some sort of lookup of these values, or can it be done right in the query as a pivot?

 

3 REPLIES 3
v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,


At present, there is no connection between the two screenshot data. Can you provide more test data and information so that I can do further tests.


Looking forward to your reply.


Best Regards,
Henry

 

amitchandak
Super User
Super User

@Anonymous , refer if this blog can help

https://www.thebiccountant.com/2015/08/12/how-to-pivot-multiple-measurescolumns-in-power-query/

 

or 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
Anonymous
Not applicable

This unfortunately didn't help much as my specific scenario involves repeating values for the company ID. If I have a primary key that repeats, how can I handle this ?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.