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

Get Fabric certified for FREE! Don't miss your chance! 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.