Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

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

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 I created a sample pbix file(see attachment), please check whether that is what you want.

1. Unpivot all colxx columns

yingyinr_1-1618551782892.png

2. Create a slicer with Attribute field and a matrix as below screenshot

yingyinr_0-1618551723387.png

If the above one is not what you want, please provide your expected result with samples and screenshots. Thank you.

Best Regards

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

 I created a sample pbix file(see attachment), please check whether that is what you want.

1. Unpivot all colxx columns

yingyinr_1-1618551782892.png

2. Create a slicer with Attribute field and a matrix as below screenshot

yingyinr_0-1618551723387.png

If the above one is not what you want, please provide your expected result with samples and screenshots. Thank you.

Best Regards

Anonymous
Not applicable

Thanks! This is working

amitchandak
Super User
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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.