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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Anonymous
Not applicable

Add OR operator in powerbi report URL

I have to control hierarchy via URL in powerbi.

I have EmployeeColumn and LineManagerColumn.

When LineManger Open the link he will see his subordinates and when employee open the link he will see only his record.

I am acheving this using sql functions but it is working fine in sql side but the issue is I want to pass the parameter to powerbi URL but in pbi URL we must have to filter a column (&filter=<table>/<column> eq 4200).

For now the URL looks like this :
https://app.powerbi.com/reportEmbed?reportId=20d41897-a7a6-45c8-be0b-0c76915625b0&autoAuth=true&ctid... 4200

but i want something like this: 
https://app.powerbi.com/reportEmbed?reportId=20d41897-a7a6-45c8-be0b-0c76915625b0&autoAuth=true&ctid... 4200 or OBP/EmpNumber eq 4200 

I want to check two columns using URL with OR operator or any other workaround to achieve this thing. Please Help!!!! 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

You can create an OR filter inside the same column with IN ()

 

Filter a report using query string parameters in the URL - Power BI | Microsoft Learn

 

You cannot do OR filters across columns. You can't do that in Power BI either unless you use measure filters.

 

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

You can create an OR filter inside the same column with IN ()

 

Filter a report using query string parameters in the URL - Power BI | Microsoft Learn

 

You cannot do OR filters across columns. You can't do that in Power BI either unless you use measure filters.

 

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors