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! It's time to submit your entry. Live now!
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.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 8 | |
| 8 | |
| 7 |