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 All
I want to consolidate two rows for each year into one - so that it shows values for both Spoiled and Good in a single row rather than two rows for each year with nulls. I have tried all kinds of group by and aggregations but to no avail? any idea?
Thanks!
Steve
Solved! Go to Solution.
Hi, @Anonymous select Year column and unpivot other columns. Then pivot column with former column names.
Hi, @Anonymous select Year column and unpivot other columns. Then pivot column with former column names.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |