Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
First time poster, long time reader, so apologies if I miss something in my description.
Summary:
I want to create a unique web link in a column that contains values from other columns and the user's username for a 3rd party system, but am struggling to use the username() function as the link in each row as it can't be used in a calculated column.
Detail:
I have an application that reads data from a SQL Server DB. If the data is in a certain state, I want to create a link to our JIRA system to populate a Create Ticket page with all the relevant details. All good, except that I need to change the username in the URL to be that of the current user in Power BI.
Example table (SimulatedMainTable):
Parameter1 | Parameter2 | Parameter3 | JIRALink | UserNameMeasure |
a | b | c | http://jira.mysite.com/CreateTicket?param1=a¶m2=b&username=myusername | uk003119@site.com |
d | e | f | http://jira.mysite.com/CreateTicket?param1=d¶m2=e&username=myusername | uk003119@site.com |
Solved! Go to Solution.
Hi @pcardno
You can create a Masure like.
SELECTEDVALUE( table[hlColumn] ) & USERPRINCIPALNAME()
Hi @pcardno
You can create a Masure like.
SELECTEDVALUE( table[hlColumn] ) & USERPRINCIPALNAME()
Hi @Mariusz ,
That worked, thank you. Unfortunately, it looks like the performance of the function call when applied across a few thousand rows isn't going to work (it just hangs on more than a couple of rows in the table) but your solution did what I was asking for.
Thanks again,
Paul.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
75 | |
73 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |