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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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

Top Solution Authors