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.
Hi,
I have the below table which I can create a line chart from. However I would like a slicer above it where people can select, for example 'Area A' and 'Area C' and they get just the lines for those two areas.
I've tried unpivoting the columns but then I can't get two separate lines on the line chart, can anyone advise please? Thank you!
Week | Area A | Area B | Area C | Area D | Area E | Area F | Area G |
1 | 4 | 2 | 4 | 7 | 5 | 22 | 6 |
2 | 7 | 12 | 8 | 11 | 7 | 45 | 12 |
3 | 19 | 14 | 12 | 9 | 13 | 67 | 12 |
4 | 18 | 6 | 7 | 12 | 6 | 49 | 11 |
Solved! Go to Solution.
Hi Humandoing,
If I understood well you could unpivot your data like this:
And then get the result you want.
Regards,
J. Payeras
Hi Humandoing,
If I understood well you could unpivot your data like this:
And then get the result you want.
Regards,
J. Payeras
Thanks so much for your time and reply, that works perfectly. My issue was that I hadn't completed the final step of adding 'attribute' to the legend.
Many thanks
Ryan
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 |
---|---|
107 | |
99 | |
76 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |