Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Team ,
I have a requiremnet , where I need to pass a UserID to a external hyperlink provided.
Say for example the external hyperlink is https/approval@companyname/userID(should come from power bi).
can you plese suggest me if this is possible ?
Solved! Go to Solution.
Hi @Anonymous ,
By userid, do you mean the currently logged in userid? You can use USERPRINCIPALNAME() which returns the email used in accessing the report. If the userid is not the same as the user email then you must have a table with the userid and the corresponding account email and then create a measure similar to below and categorize it to Web URL
hyperlink =
VAR _UPN =
USERPRINCIPALNAME ()
RETURN
CALCULATE (
SELECTEDVALUE ( usertable[userid] ),
FILTER ( usertable, usertable[user email] = _UPN )
)
Hi @Anonymous ,
By userid, do you mean the currently logged in userid? You can use USERPRINCIPALNAME() which returns the email used in accessing the report. If the userid is not the same as the user email then you must have a table with the userid and the corresponding account email and then create a measure similar to below and categorize it to Web URL
hyperlink =
VAR _UPN =
USERPRINCIPALNAME ()
RETURN
CALCULATE (
SELECTEDVALUE ( usertable[userid] ),
FILTER ( usertable, usertable[user email] = _UPN )
)
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 49 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |