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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.