Reply
Frequent Visitor
Posts: 3
Registered: ‎06-22-2017
Accepted Solution

Running .pbix file to multiple computers with different roles

Can I generate a PowerBI file that includes queries and make them available for other users? Is this only possible for PowerBI online or also for Desktop version?

I have a .pbix file that i want to share with other users in the company but i want to use Power BI desktop and want to assign Roles so that only selected reports each can see.

Thanks.


Accepted Solutions
Highlighted
Super Contributor
Posts: 4,720
Registered: ‎07-08-2016

Re: Running .pbix file to multiple computers with different roles

@Omer4uq

 

No, it is not possible. But you can achieve somewhat automation (less manual work) by just creating one role and passing UPN property of the logged in user via that role to the user security table where you will have Employee Manager relationship mapped. Check out below link on using Username() function of DAX for RLS. 

https://powerbi.microsoft.com/en-us/blog/using-username-in-dax-with-row-level-security/

 

Best Regards,
Herbert

View solution in original post


All Replies
Super Contributor
Posts: 4,720
Registered: ‎07-08-2016

Re: Running .pbix file to multiple computers with different roles

[ Edited ]

@Omer4uq

 

For Desktop version, only when connect SSAS Tabular with live connection, it will take the Row Level Security you configured within Tabular Model. For more details, please refer to Tutorial: Dynamic row level security with Analysis services tabular model and Row-level security (RLS) with Power BI

 

For other sources, we can only use RLS in Power BI Service.

 

Best Regards,
Herbert

Frequent Visitor
Posts: 3
Registered: ‎06-22-2017

Re: Running .pbix file to multiple computers with different roles

@v-haibl-msft

Thanks for the reply but i want it in Power BI desktop and restrict user on the basis of report. is it possible??

Highlighted
Super Contributor
Posts: 4,720
Registered: ‎07-08-2016

Re: Running .pbix file to multiple computers with different roles

@Omer4uq

 

No, it is not possible. But you can achieve somewhat automation (less manual work) by just creating one role and passing UPN property of the logged in user via that role to the user security table where you will have Employee Manager relationship mapped. Check out below link on using Username() function of DAX for RLS. 

https://powerbi.microsoft.com/en-us/blog/using-username-in-dax-with-row-level-security/

 

Best Regards,
Herbert