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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors