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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

RLS not working after refresh ends

Hi,

 

I have set a RLS on power bi desktop [my column = username()].

When i view as the user on power bi desktop it works fine, but when i publish it to the service it works fine only until the refresh ends.

My refresh take about 1.5 hours so i can view the data in that time. 

After the refresh ends all i see is blank for all the visuals.

 

I checked for date as text datatype in the relevant tables but all is in the currect datatype.

 

Any suggestions?

2 REPLIES 2
Anonymous
Not applicable

Hi  @Anonymous ,

 

Please check the version of your Desktop, if it is not the latest version, please upgrad it to the latest one.

I found an issue: Visualization BLANK after refreshing page in Power BI service like yours, hope it could help you solve your problem.

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

bcdobbs
Community Champion
Community Champion

1) Have all the users been added to the RLS role in the service?

 

2) This might be the issue from here .

"Within Power BI Desktop, username() will return a user in the format of DOMAIN\User and userprincipalname() will return a user in the format of user@contoso.com.

Within the Power BI service, username() and userprincipalname() will both return the user's User Principal Name (UPN). This looks similar to an email address."

 

What format is in your column?

 

You can test by using it in a measure and dropping into a card visual to see what is being passed.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors