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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
lkshck
Helper III
Helper III

Two filter conditions with OR operation on one page

Hey,

I want to use a filter on a page which uses an OR condition. I have two fields called "JsonTags.area" and "ReservationName". My goal is to display data on the page where "JsonTags.area" is equal "dl-business-intelligence" OR "ReservationName" contains "DWH". I think this will be only possible via new Column or with Measure but would be glad to get some help on it.

Br

1 ACCEPTED SOLUTION
v-angzheng-msft
Community Support
Community Support

Hi, @lkshck 
Create a calculated column with the following formula:

Column =
IF (
    [JsonTags.area] = "dl-business-intelligence"
        || CONTAINSSTRING ( [ReservationName], "DWH" ),
    1,
    0
)

Then filter the items at the page filter level for column values equal to 1.

e.g.
 

vangzhengmsft_0-1647492277857.png

Please refer to the attachment below for details.

Hope this helps.

 

 

Best Regards,
Community Support Team _ Zeon Zheng


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-angzheng-msft
Community Support
Community Support

Hi, @lkshck 
Create a calculated column with the following formula:

Column =
IF (
    [JsonTags.area] = "dl-business-intelligence"
        || CONTAINSSTRING ( [ReservationName], "DWH" ),
    1,
    0
)

Then filter the items at the page filter level for column values equal to 1.

e.g.
 

vangzhengmsft_0-1647492277857.png

Please refer to the attachment below for details.

Hope this helps.

 

 

Best Regards,
Community Support Team _ Zeon Zheng


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Works fine, thank you!

mh2587
Super User
Super User

You can simply do this from page filter by draging both the mentioned fields


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



This works only for the same field, right? So If I put the field "JsonTags.area" to the Page filters, I can select advanced filtering and set an OR condition but not between two fields.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors