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
quentin_vigne
Solution Sage
Solution Sage

Is it possible to filter a report with a username on website ?

Hi everyone, 

 

I would like to embed my report in a private webpage but depending on the username (id of the client connected) so that my clients can only see their datas and not others client's data. At the moment my report has a dropdown list with everyclient in my database and I would like to know if it possible to only display values that match my client name/id

 

Thanks,

 

Quentin

1 ACCEPTED SOLUTION

@quentin_vigne,

Do you use "Publish to web" to generate embed code of the report? If so, it doesn't support RLS. You can use Power BI embed instead and define RLS.

https://docs.microsoft.com/en-us/power-bi/developer/embedded-row-level-security

Regards,
Lydia

Community Support Team _ Lydia Zhang
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-yuezhe-msft
Microsoft Employee
Microsoft Employee

@quentin_vigne,


You can define Row level security in your report.

https://docs.microsoft.com/en-us/power-bi/service-admin-rls

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yuezhe-msft

 

So Instead of having a dropdown list of my clients I can create a client RLS where I type something like MyTable.IdClient = ["Id of connection on my website"] and It will only display values related to my IdClient, is that right ?

 

 

Quentin

 

 

EDIT : It says :

  • External sharing is not currently supported with datasets that use RLS

So embedding my report on a website and trying to make my idclient match will probably not work ? 

@quentin_vigne,

Do you use "Publish to web" to generate embed code of the report? If so, it doesn't support RLS. You can use Power BI embed instead and define RLS.

https://docs.microsoft.com/en-us/power-bi/developer/embedded-row-level-security

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

That's what I was looking for, thanks

 

Quentin

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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

Top Solution Authors
Top Kudoed Authors