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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Vids
New Member

Transform a table

Hi,

 

Please help in transforming old table to new table (as given below) in Power BI. Is there any way that I can run a query to transform old table to new table automatically?

Old table    
 Project AProject BProject CProject D
AYes   
A Yes  
A   Yes
BYes   
B Yes  
C  Yes 
C   Yes
     
     
     
New table   
 Project AProject BProject CProject D
AYesYes Yes
BYesYes  
C  YesYes
1 ACCEPTED SOLUTION
Bifinity_75
Solution Sage
Solution Sage

Hi @Vids , you need to do the following. In Power Query:

 

- You have this table:

Bifinity_75_0-1668624924387.png

 

- Select Column "Column", and unpivot other columns:

Bifinity_75_1-1668625032282.png

 

- Select column "value" and filter only "Yes" like the image:

Bifinity_75_2-1668625103587.png

 

- Select column "Atribute" and select dinamic column:

Bifinity_75_6-1668625445378.png

 

- Last,  Select this values in options for the dinamic column:

Bifinity_75_5-1668625386344.png

 

The result:

Bifinity_75_7-1668625474538.png

 

Best regards

 

 

 

View solution in original post

1 REPLY 1
Bifinity_75
Solution Sage
Solution Sage

Hi @Vids , you need to do the following. In Power Query:

 

- You have this table:

Bifinity_75_0-1668624924387.png

 

- Select Column "Column", and unpivot other columns:

Bifinity_75_1-1668625032282.png

 

- Select column "value" and filter only "Yes" like the image:

Bifinity_75_2-1668625103587.png

 

- Select column "Atribute" and select dinamic column:

Bifinity_75_6-1668625445378.png

 

- Last,  Select this values in options for the dinamic column:

Bifinity_75_5-1668625386344.png

 

The result:

Bifinity_75_7-1668625474538.png

 

Best regards

 

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.