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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
jimlevin
Regular Visitor

DAX Command/Role not showing up when I publish to PowerBI Service

Hi,

 

I've built a report and added a new role with DAX command to use userprincipalname() when users are looking at the report. When I test the role/expression in PowerBI desktop I get the desired behavior, however when I publish the same report to PowerBI Service I don't see the new role or expression being used, as my report data isn't being filtered by userprincipalname(). 

 

Wondering if I'm not publishing correctly or missing some other setting, has anyone else dealt with this issue before?

 

Please advise, thanks.

 

Jim 

2 REPLIES 2
az38
Community Champion
Community Champion

Hi @jimlevin 

the issue could be is in different usernames at desktop and server

try to debug by creating some visual like card and column=userprincipalname() and compare in desktop and server version. I think it will be different

 

do not hesitate to give a kudo to useful posts and mark solutions as solution

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

@az38 Thx for the response and suggestion -- i've verified that my username is the same in both desktop and service. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.