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

Text field to show the selected filters

How could I show what multiple filters are selected on a report page?

I have used 2 fields as filters. The first one is Data Subject and the second one is Request Types. My current formula only shows the selected filters from Request Types. How can I also get the filters selected from Data Subject in the same formula?

Filters Selected =
IF (
    ISFILTERED ( 'DSAR Log'[Request Types] ),
    CONCATENATEX ( FILTERS ( 'DSAR Log'[Request Types]  ), 'DSAR Log'[Request Types] , ", " ),
    "ALL"
)
filters.PNG
1 ACCEPTED SOLUTION

Accepted Solutions
OwenAuger Super Contributor
Super Contributor

Re: Text field to show the selected filters

This article is a pretty good guide, and shows how you can use DAX Studio to create the measure:
https://www.sqlbi.com/articles/displaying-filter-context-in-power-bi-tooltips/

Essentially it amounts to repeating code similar to your existing code for every column, with some extra bells and whistles. You should be able to adapt this to your needs.


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!




View solution in original post

2 REPLIES 2
OwenAuger Super Contributor
Super Contributor

Re: Text field to show the selected filters

This article is a pretty good guide, and shows how you can use DAX Studio to create the measure:
https://www.sqlbi.com/articles/displaying-filter-context-in-power-bi-tooltips/

Essentially it amounts to repeating code similar to your existing code for every column, with some extra bells and whistles. You should be able to adapt this to your needs.


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!




View solution in original post

Panos Frequent Visitor
Frequent Visitor

Re: Text field to show the selected filters

I got it done after reading the article. Thank you very much for your help!

Helpful resources

Announcements
Coming Soon: T-Shirt Design Contest

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors
Top Kudoed Authors