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
Navaneeth_V
New Member

Help with creating a second filtered slicer

Hi, I have to create a second slicer, that contains the values that are not in the first slicer.
SO my first slicer take in values from Team[Team] and the relationships are as in the image
realtionships.jpg

 

Now I have used a DAX formula, to generate another calcualted table, where if I selected a particular Team[TeamRatingID] and particular season from Season[SeasonKey], then it will generate all the other teams, not selected in the first slicer.
The example code is as shown:
hardcode.jpghardcodedresult.jpg

So as you can see, i gave the values as numbers to the variable, and it is sorting correctly, as shown in Table visual.
The two card visuals are created using DAX formula of simply, SELECTEDVALUE(Team[TeamRatingID]) for SelectedTeam and SELECETDVALUE(Season[SeasonKey]) for SelectedSeason. Now this works in card visual. 

But the moment i use SELECTEDVALUE in the calculated table equation, it gives me blank
selectedvalueresult.jpgselectvalue.jpg

But the measures I use to filter are displaying properly in the card, but those values are simply not getting passed on for filtering. So it is comparing to a blank value.

Now inorder to check it , I just used MAX function instead of SELECTEDVALUE, So then the filtering condition is working, however this is not what I want.
Max result.jpgMax.jpg

You can see that MAX takes in the maximum values of 3523 and 11, and filters correctly, but it is the maximum of all values and not simply the SELECTEDVALUE.

How can solve this?

Thank you for your time

1 REPLY 1
lbendlin
Super User
Super User

You cannot control a slicer from a measure directly. It will only work with disconnected tables, and only in one direction.

 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

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.