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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
markmess77
Resolver I
Resolver I

Displaying filtered values with conditional formatting

I have several filters in my report. When filtering through each, it can be easy to forget exactly which filters have been selected. To resolve this issue, I have used text boxes with conditional formatting to display which filters have been selected. I have two different measures that I have been toying with to find a solution, both of which are partially incomplete.

measure1.PNG

measure2.PNG

In this example, I have a hierachy of Sport and Team Name. The default view looks like:

snip1.PNG

With the default view, without any filters selected, both options work as intended. However, depending on how you select the filters, the conditional formatting does not quite work how I would like.

In the below scenario, only one team name is selected and everything works as intended for Test 1, but not for Test 2. Selecting by Team Name should inherently select the remaining options left in in Sport.

snip2.PNG

However, if I want to select by more than one Team name, Test 1 no longer works. Test 2 is able to return each selection of Team Name, but it doesn't affect the Sport visual.

snip3.PNG

Additionally this leads to a similar issue if I only filter by Giants. Since this is a Team Name of both a baseball and football team, this once again does not work as intended.

snip4.PNG

I've been unsuccessully attempting to find a way to combine these two solutions into one. Is there a way to do so?

1 ACCEPTED SOLUTION
markmess77
Resolver I
Resolver I

Finally figured it out on my own with these two measures!

Measure for the Sports visualMeasure for the Sports visualMeasure for the Team Name visualMeasure for the Team Name visual

View solution in original post

2 REPLIES 2
markmess77
Resolver I
Resolver I

Finally figured it out on my own with these two measures!

Measure for the Sports visualMeasure for the Sports visualMeasure for the Team Name visualMeasure for the Team Name visual

Hi , @markmess77 

It's pleasant that your problem has been solved by yourself.

You can   mark your reply as Answered to close this thread.

And other community members will easily find the solution when they get the same issue.

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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