The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi, I have tried USERNAME () which is returning domain\userID in Desktop and in web it is returning emailID. I want to see Firstname and Lastname of user as in AD. is there any way that I can show Lastname,Firstname in dashboard.
Hi @Kcponakala ,
If you want to import data from AD, you could refer to this blog to load user table into Desktop.
Hi,
create a disconnected table which holds the Fullname (Firstname & Lastname) and the USERPRICIPALNAME. Use a measure like this:
User = CALCULATE(VALUES(DisconnectedTable[Name]), DisconnectedTable[Userprincipalname] = USERPRINCIPALNAME())
Use this measure in a card visual.
Regards FrankAT
User | Count |
---|---|
60 | |
55 | |
53 | |
49 | |
30 |
User | Count |
---|---|
179 | |
87 | |
71 | |
48 | |
46 |