Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
I have a dataset setup and running which works with the logic filtering based on position.
1. AM's can see data that are related to their id.
2. M can see data related to their id and the rest of the country.
I have a unique request where in a single visual, all the AM's should be able to see their colleagues data, which is esentially a view M would have but only for that visual. Is this even possible?
These are my dax expression for filtering,
And my models looks like this, I filter customer to filter out the rest of my data in whole PBI.
Since you want only a single visual to be different from the current RLS, a possible solution is to create a calculated table that includes aggregated values to populate that specific visual. Keep this table disconnected from other tables in your current model. Only select columns from this table into that visual. And create a RLS DAX expression on this table to look up Country rather than Person code, similar to the second DAX expression shown in your Post.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
@v-jingzhangThanks, that sounds like it would work, but what about in the long run when more of these requests comes in, making a copy of large tables in a large dataset doesn't seem very effecient.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
79 | |
63 | |
51 | |
30 |
User | Count |
---|---|
116 | |
114 | |
70 | |
66 | |
39 |