Forum Discussion
How to select columns to visualize using a slicer or drop down?
I have a time series table with multiple columns (each a time serie):
time, col1,col2,col3
00:00, val, val, val
01:00, val, val, val
02:00, val, val, val
...
now I want to have a single line graph that shows each column individually based on the selection from a drop-down (slicer). I couldn't figure out how, show I make measures? but it doesn't make sense
- Anonymous5 years ago
Hi Anonymous ,
I created a sample pbix file(see attachment), please check whether that is what you want.
1. Unpivot all colxx columns
2. Create a slicer with Attribute field and a matrix as below screenshot
If the above one is not what you want, please provide your expected result with samples and screenshots. Thank you.
Best Regards
3 Replies
- AnonymousNot applicable
Hi Anonymous ,
I created a sample pbix file(see attachment), please check whether that is what you want.
1. Unpivot all colxx columns
2. Create a slicer with Attribute field and a matrix as below screenshot
If the above one is not what you want, please provide your expected result with samples and screenshots. Thank you.
Best Regards
- AnonymousNot applicable
Thanks! This is working
- amitchandak
Super User
Anonymous , I think you are looking for a measure slicer.
Please find documents on measure slicer
https://www.youtube.com/watch?v=b9352Vxuj-M
https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/500115
https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slicer-parameter-table-pattern
https://www.youtube.com/watch?v=vlnx7QUVYME