Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 A | Project B | Project C | Project D | |
| A | Yes | |||
| A | Yes | |||
| A | Yes | |||
| B | Yes | |||
| B | Yes | |||
| C | Yes | |||
| C | Yes | |||
| New table | ||||
| Project A | Project B | Project C | Project D | |
| A | Yes | Yes | Yes | |
| B | Yes | Yes | ||
| C | Yes | Yes |
Solved! Go to Solution.
Hi @Vids , you need to do the following. In Power Query:
- You have this table:
- Select Column "Column", and unpivot other columns:
- Select column "value" and filter only "Yes" like the image:
- Select column "Atribute" and select dinamic column:
- Last, Select this values in options for the dinamic column:
The result:
Best regards
Hi @Vids , you need to do the following. In Power Query:
- You have this table:
- Select Column "Column", and unpivot other columns:
- Select column "value" and filter only "Yes" like the image:
- Select column "Atribute" and select dinamic column:
- Last, Select this values in options for the dinamic column:
The result:
Best regards
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |