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 Team,
Need your help in getting output as stated below:-
Input table data:-
| Room | Red | Yellow | Green |
| A | Yes | No | Yes |
| B | Yes | Yes | Yes |
1st Output as:-
| Room | Yes |
| A | Red, Green |
| B | Red, Yellow & Green |
2nd Output as:-
| Room | Color | Yes/No |
| A | Yellow | No |
| B | Green | Yes |
Please let me know if you need any details from my side.
Thanks & Regards,
S
Solved! Go to Solution.
Hi,
First, unpivot the color columns.
Then, filter the 'Value' column for the 'Yes' value.
Next, use the Group By operation and modify its formula as follows:
Text.Combine([Attribute],", ")
and let me know the logic behind the 2nd output?
Hi,
First, unpivot the color columns.
Then, filter the 'Value' column for the 'Yes' value.
Next, use the Group By operation and modify its formula as follows:
Text.Combine([Attribute],", ")
and let me know the logic behind the 2nd output?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 7 | |
| 7 |