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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
wittr9876
Regular Visitor

Does PowerBI support pre-query filter parameters?

Question: Does PowerBI support filter parameters so that when the data is queried (prior to it being displayed for the user), those filters are applied to the SQL data being retrieved?

 

Scenario: A mobile (Azure) app that is accessed by multiple customers. Can dashboards be designed, so based on something in the user's login or other configurable information, the dashboards will use that information when querying the data to be displayed, so that no customer accidentally can access another customer's data, including in lookup lists on the dashboard?

 

I know that data can be post-filtered (after it's been retrieved from the database.) I supposed separate dashboards & URL's could be provided per customer. I was just wondering if a single dashboard can achieve that purpose, but if so it would have to be able to pre-filter the data so no other customer's data was even retrieved from SQL Server.

 

Thanks,

Randy

1 ACCEPTED SOLUTION
mshenhav
Power BI Team
Power BI Team

Hey @wittr9876,

 

I believe that what you are looking is Row Level Security (RLS) - https://docs.microsoft.com/en-us/power-bi/desktop-rls.

And yes, Power BI supports RLS.

 

Maya

View solution in original post

2 REPLIES 2
gaganbansal97
Frequent Visitor

Is there any way other than RLS? The customer don't have access to Power BI service. So is there any way, where I can filter the data based on the customer and they cannot view other's data.

mshenhav
Power BI Team
Power BI Team

Hey @wittr9876,

 

I believe that what you are looking is Row Level Security (RLS) - https://docs.microsoft.com/en-us/power-bi/desktop-rls.

And yes, Power BI supports RLS.

 

Maya

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors