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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
DineshDwilco
Frequent Visitor

Display Record OrganizationID based RLS from MVC C#

Hi all,

   I displayed power bi Dashboard Report but its shown all the organization Records but I need to display as per Organization Based Records in power bi. I will pass OrganizationID from my MVC C#. is this possible on DirectQuery Dashboard?

How to Achive to RLS based on organizationID from my Application

Guide Me,...

@ibarraza @ibarrau @Anonymous @Burningsuit @GilbertQ @v-ljerr-msft 

Regards

Dinesh D

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Not sure I quite understood your problem -
Let me know if this covers your scenario - Using row-level security with embedded content in Power BI embedded analytics - Power BI | Microsoft...

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Not sure I quite understood your problem -
Let me know if this covers your scenario - Using row-level security with embedded content in Power BI embedded analytics - Power BI | Microsoft...

OrganizationID is the one of the field for my all Dataset. I need to pass that field from my MVC C# application embedd the power BI Report. as per the user logged corresponding Organization in my web application there own Organization Will Display other Organization Records does not shown is this possible?  

ibarrau
Super User
Super User

Hi. I'm not sure I get the issue. You can use RLS in direct query. So if you need to change the data model by filtering something in there, just create RLS and you can use it when calling the token for embedding.

If you talk about changing Organization like the tenant of PowerBi or Azure, you can't. However you could add all data in a single data model filtered by a table of organizations to change between them with RLS.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors