Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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 @KrishnaNags ,
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 )
)
Proud to be a Super User!
Hi @KrishnaNags ,
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 )
)
Proud to be a Super User!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
91 | |
89 | |
79 | |
69 | |
68 |
User | Count |
---|---|
222 | |
128 | |
117 | |
82 | |
77 |