March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello everyone,
This is yes or no question, probably really simple one.
I have report which contains data about employees. How much cases they solved, how many hours they spent resolving certain issues etc. - basically it's their performance. Data is filtered by employees and teams and everyone can see everything. Question is - when an employee opens that report, can those filters be automatically selected so it shows data for that one person who opened the report? So it would probably be a DAX formula which goes to filter/slicer and selects employee based on user who is logged in and who is viewing the report.
Hey everyone,
Is there someone who has a solution for this problem in the meantime?
If want to do the same thing as asked here so I was wondering if someone has some tips on how to do this.
Thank you in advance!
Yes, When you apply RLS (to restrict users from viewing data) so automatically all the report contents will be filtered out based on the permission of users who logged.
I do not want row level security (RLS) as a feature. I need that all data is visible to others. Just default that it is filter (visualization) to a particular user.
I have thought to add new DAX column to my Users table with expression:
@skusulja , check if you are able to create a measure like this
calculate(count(Employees[SystemUser.UserName]),Employees[SystemUser.UserName]= USERPRINCIPALNAME())
This can be used in visual level filter
refer : https://www.powerbi-pro.com/en/power-bi-display-measures-for-specific-users-only/
This measure returned blank for me.
I tried couple of variations but I didn't get what I wanted.
Anyway, this was supposed to be a small addition to my report, I'm not supposed to spend any more tome on this and we can go without it.
Thank you all for your comments!
Hi @skusulja ,
Thanks,
Pragati
This is simple question about using Power BI Report in web.
Example is Sales report, where Filter (on page for example or visualization) persists, and should be default set to current user.
But user should be able to change this filter and see other sales performance in power bi report for other users.
It is just a question on setting value to a current filter (page filter or visualization filter) for which user to display the data.
It does not have nothing with Power BI Dashboards, nor Row level security
Hi @skusulja ,
You can look into Row-level security in Power BI.
https://radacad.com/row-level-security-configuration-in-power-bi-desktop
Thanks,
Pragati
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |