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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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