Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
venkatvedavyas
New Member

Chart not updating based on role

Hi,

 

I have a table Sales data with Columns Emp_Name, Emp_Email, Date and Amount.

 

I want to show the Sales amount generated by each employee on a perticular date so, I created a column chart with Amount in Y axis and Date in X axis.

 

I want to show only the employee data when he reads the report. 

 

I have crated role based on Uerprincipalname(). The DAX function i used is [Emp_Email]==Userprincipalname().

 

I have assigned users to the role as well. 

 

I tested the role using view as and it is showing correct data, but when I see it in the reading view. it is showing everyone's data.

 

I'm not sure what am I missing. 

2 REPLIES 2
nvprasad
Solution Sage
Solution Sage

Hi Venkatvedavyas,

If I understand you correctly, you are able to see the right data when you test in PowerBI desktop and where as PowerBI service you are seeing all data.

If the above is your problem statement,  User who is part of workspace access by default can see full data. Could you please refer to the below documentation for validating your role in PowerBi service?

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

 

Appreciate a Kudos! ‌‌
If this helps and resolves the issue, please mark it as a Solution! ‌‌

Regards,
VN

Did I answer your question? Mark my post as a solution! Appreciate your Kudos.
Follow me on LinkedIn.
NaveenGandhi
Super User
Super User

Hello @venkatvedavyas 

Only thing that strikes my mind is, Did you add required user's emails in Power BI Service and tested as role?

Take a read on below article from "Manage Role on Your Model" header.
https://learn.microsoft.com/en-us/power-bi/enterprise/service-admin-rls

Let me know if this helps!

If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors