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

SELECTEDVALUE to filter OR clause

Hi, I have a problem with OR clause and SELECTEDVALUE function, in that case I would like select by condition:
one Month, and by one Symbol OR Common is True:

Filtered = IF(OR('DataTable'[Symbol]=[SelectedSymbol],'DataTable'[Common]=TRUE()),TRUE(),FALSE())

TomaszKlakla_0-1692780840613.png
example file

 

3 REPLIES 3
rrm121812
Helper II
Helper II

Hi TomaszKlakla,

 

When you say filter does not change dynamically, I am assuming when you select a particular value in Symbol Slicer, the table should display correspong TRUE/FALSE. Please let me know if you are looking for some other functionality.

 

In addition to the new measure, I have set the interaction between Slicer - Month and Table to none.

1. Select Month Slicer. Go to Format --> Edit Interaction and set the interaction to none.

rrm121812_0-1692851652997.png

 SelectedValueOR.pbix 

 

Hope this helps.

rrm121812
Helper II
Helper II

Hi,

 

You can write measure instead of a custom column as below:

 

rrm121812_0-1692794085579.png

 

The selected values of Month will show correct values of Filtered. However, you may need to remove the relationship between tables - Month and DataTable if you want entire column to be populated irrespective of filter applied.

 

Please Accept this answer as a solution if it works for you.

Sorry but this not working:
file with your measure
FilteredM doesn't change dynamically 😞

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.