Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I had a table that had roughly 140 rows, but due to the way the data was presented, I had to "Unpivot" several columns, resulting in the table now having over 700 rows. The problem is that now any visuals see the 700+ rows and not the actual/original number of rows, resulting in incorrect values.
I thought I could inport the origianl table in again as a 2nd table, and get values from there, but one of the values i need to display is one of the unpivited columns, so that that doesnt work.
How do people get pre-unpivoted values on a pivoted table. I hope that makes sense.
Thanks in advance.
Check if there already a key column before unpivot. the distinct count can give the number post unpivot.
Or create an index column before unpivot and then try. But I doubt this one.
No columns have unique values. How do people work with pivoted data as its causing me lots of issues as its changed the table completely by adding 600+ extra pivoted rows, resulting in visuals taking into account these extra rows and not the actualy rows from the original unpivoted table.
Hi @StuartSmith ,
Can you choose another way instead of unpivoting columns ,such as creating a calculated column or measure to achieve what you need?
Can you provide some sample data if it's not confidential?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
83 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |