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
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
Employee
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
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