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

New Table with Column Names from other table data

I am trying to create a new table that has a single row based on primary ID and column names from values in the data but I just can't get it to do it. There is no need for an calculations as value field is a string. Any help would be appreciated.

 

From this:

 

ID DateValue
Id 11/01/2019X
Id 15/01/2019Y
Id 17/01/2019Y
Id 22/01/2019X
Id 1 10/01/2019Z

 

to this:

 

IDXYZ
Id11/01/20197/01/201910/01/2019
Id22/10/2019  

 

2 ACCEPTED SOLUTIONS
Washivale
Resolver V
Resolver V

Hello @BBurnett ,

 

You can achieve this with Pivot Function of Power Query, Go to Edit Query - Transform - Select value column - Pivot - then select Date from Drop Down and apply aggregation (if any) like Max date for the ID.

 

Thank You,

Washivale

View solution in original post

JosefPrakljacic
Solution Sage
Solution Sage

Hey @BBurnett ,

 

just do that stuff in the ScreenGif. Be careful regarding the aggregation type. You have 2 dates for Y and need to decide what to do with it.

 

ExplanationExplanation

 

If this post was helpful may I ask you to mark it as solution and give it some kudos?

Have a nice day!

BR,
Josef

 

View solution in original post

2 REPLIES 2
JosefPrakljacic
Solution Sage
Solution Sage

Hey @BBurnett ,

 

just do that stuff in the ScreenGif. Be careful regarding the aggregation type. You have 2 dates for Y and need to decide what to do with it.

 

ExplanationExplanation

 

If this post was helpful may I ask you to mark it as solution and give it some kudos?

Have a nice day!

BR,
Josef

 

Washivale
Resolver V
Resolver V

Hello @BBurnett ,

 

You can achieve this with Pivot Function of Power Query, Go to Edit Query - Transform - Select value column - Pivot - then select Date from Drop Down and apply aggregation (if any) like Max date for the ID.

 

Thank You,

Washivale

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
Top Kudoed Authors