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
frano72
Helper IV
Helper IV

100 shops. 100 reports or 1 report ?

Lets say you have 100 shops across a country and you have a report that is the same and you want each store to be able to run the report and view the report on data from their shop.  (i'm not bothered about security aspects of data for this question).

 

ideally you'd want a person to click on the report and then based on some information about them as a power bi user, dynamically filter the underlying data to the shop they are at.  another version would be to set a default for the person so they may need to select their home shop the first time, but the report would remember for subsequent runs.

 

i'm not so keen on 100 x pbix files that you have to keep in synch or that the person has to select their store out of a slicer list every time they go into the report.

 

any ideas ?

2 ACCEPTED SOLUTIONS
AllisonKennedy
Super User
Super User

Row Level Security can be used in combo with the DAX USERNAME() function to get info about the logged in user and automatically filter the report to show them their data only. 

https://docs.microsoft.com/en-us/dax/username-function-dax

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

Alternatively, in the PowerBI.com service, it now remembers your previous selections so you don't have to re filter every time if you deviate from the report design.

https://powerbi.microsoft.com/en-us/blog/announcing-persistent-filters-in-the-service/

Final option is to show the users how to use Personal Bookmarks.

https://powerbi.microsoft.com/en-us/blog/announcing-personal-bookmarks-in-the-power-bi-service/


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

4 REPLIES 4

Thanks Amitchandak

AllisonKennedy
Super User
Super User

Row Level Security can be used in combo with the DAX USERNAME() function to get info about the logged in user and automatically filter the report to show them their data only. 

https://docs.microsoft.com/en-us/dax/username-function-dax

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

Alternatively, in the PowerBI.com service, it now remembers your previous selections so you don't have to re filter every time if you deviate from the report design.

https://powerbi.microsoft.com/en-us/blog/announcing-persistent-filters-in-the-service/

Final option is to show the users how to use Personal Bookmarks.

https://powerbi.microsoft.com/en-us/blog/announcing-personal-bookmarks-in-the-power-bi-service/


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Thanks Allison !

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