cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MasGh
Frequent Visitor

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
yingyinr
Community Support
Community Support

Hi @MasGh ,

 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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
yingyinr
Community Support
Community Support

Hi @MasGh ,

 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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

MasGh
Frequent Visitor

Thanks! This is working

amitchandak
Super User IV
Super User IV

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors