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.
The situation I'm grappling with is as follows:
I've designed a dashboard for a client that displays data from 150 distinct stores. These stores are owned by 55 individuals, with some of them having ownership over multiple stores.
The dashboard I developed showcases Key Performance Indicators (KPIs) for each store and contrasts them with the 6 most comparable stores based on 2023 revenue. Users can select a specific store using a slicer to view its data alongside anonymized data of comparable stores. The intention is for owners to cycle through their stores using this slicer without accessing competitors' specific data. While they'll see metrics from competing stores if they're part of the comparison group, the information remains anonymous, ensuring they can't identify which stores they're looking at.
I plan to deploy this report on SharePoint. Each owner accesses the report through their unique SharePoint URL, logging in to view the Power BI report tailored to their owned stores.
The challenge lies in how to best implement this.
I've considered two potential solutions:
Neither solution feels optimal, which prompts me to explore alternative approaches.
I solved the issue by creating a measure checking userprinciplename(), using it as a filter on the slicer to select stores. Now the slicer in the repport adjust to the specific userID that is logged in on sharepoint.
You can also try another way, try prepare more complex model in Power BI which meets your requirements.
E.g. You can have full detail data in model, and use RLS rules which are applied during interactive queries of users. From this data you can create second calculated data table in model (during calculation RLS is not applied), which will be aggregated and anonymized, without any RLS, and will be used for comparasion. But all of it depends on another requirements, which I don't know.
#2 is the way to go.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
8 | |
5 | |
3 | |
2 | |
2 |
User | Count |
---|---|
12 | |
9 | |
7 | |
2 | |
2 |