cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ah2020
Helper I
Helper I

User Selection on Slicers to show as Text in a Text Box or Card: is this possible?

Hi all,

 

I would like to create a feature in my Power BI Report where the selection(s) made by a user on the available Slicers are displayed in a set of Cards (visual) or a Text Box. 

 

Let me explain further: Assuming I have 2 slicers (Month-Year, Hotel). If the user selects "Jan 2019" on the Month-Year Slicer and "Hotel B" on Hotel Slicer, is it possible to display those 2 selections on my Report through a TextBox or any other Visual? In this case, I will need to have 2 separate Visuals (one for the Month-Year and the other for the Hotel). 

 

Also, if the User selects all the Month-Year and all the Hotels on the Slicers, the "Text Box" or "Card" will show  "All Month-Year" and "All Hotels" respectively.

 

I am posting this in the DAX forum as I believe DAX can work some magic here.

 

I had a look at this post: How to show/display slicer selection values in text box/charts dynamically as for title purpose 

 

However, it relates more to changing Chart Titles dynamically.

 

Any help would be highly appreciated.

 

 

 

 

1 ACCEPTED SOLUTION
Jihwan_Kim
Community Champion
Community Champion

Picture1.png

 

 

Link to the sample pbix file 


If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

Best regards, JiHwan Kim

Linkedin: https://www.linkedin.com/in/jihwankim1975/

Twitter: https://twitter.com/Jihwan_JHKIM

View solution in original post

2 REPLIES 2
Jihwan_Kim
Community Champion
Community Champion

Picture1.png

 

 

Link to the sample pbix file 


If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

Best regards, JiHwan Kim

Linkedin: https://www.linkedin.com/in/jihwankim1975/

Twitter: https://twitter.com/Jihwan_JHKIM

View solution in original post

Thank you very much! Brilliant! Exactly what I was after.

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - September 30th, 2021

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

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.