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
omelei86
Frequent Visitor

Applying OR Filter

Hi 

 

I am relatively new to PowerBI. Hope you can help. 

 

Table Opportunities

 

Opportunity ID

Sales Team (coming from Opp owner)

Sales Team (coming from Revenue responsible)

XjxjxjxhxA

Team A

Team A

XjxjxjxhxB

Team B

Team B

XjxjxjxhxC

Team A

Team B

XjxjxjxhxD

Team B

Team A

 

Now I'd like to apply a Filter visual on Sales team. However, it should filter on both columns. 

 

Let's say we filter on Sales Team = Team A, the expected result should be:

 

Opportunity ID

Sales Team (coming from Opp owner)

Sales Team (coming from Revenue responsible)

XjxjxjxhxA

Team A

Team A

XjxjxjxhxC

Team A

Team B

XjxjxjxhxD

Team B

Team A

 

Any idea? Thanks in advance..

3 REPLIES 3
Anonymous
Not applicable

Hi @omelei86,

Current power bi does not support the 'OR' logic filter, you can create an unconnected table as the source of the slicer.
Then you can write a measure formula to extract the selection from the filter and compare it with current records and return flags, this formula can be used on the 'visual level filter' to filter records.

Regards,

Xiaoxin Sheng

Ashish_Mathur
Super User
Super User

Hi,

Write a RELATED() function in Table2 to bring over the Sales Team column from Table1.  Create your visuals from Table2.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Fowmy
Super User
Super User

@omelei86 

Hope the following video could be of help; 
https://www.youtube.com/watch?v=WFJThyfQt-A

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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.