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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Patv
Helper II
Helper II

How to create hyperlink for comma separated values in Power BI

Hello All,
I need help creating hyperlink to comma sepated values in a column......
 
Let's say I am pulling three column from oracle db in power bi desktop. If you see the below screen, I get two comma separated "Related Project No" for each "Request No" and also getting comma separated URL for both Related Projects in "Related_Project_No_ULR" column from oracle table. Pic1.jpg
 
If you see above when I click on  Related Project NO (e.g.341183), Power bi shows entire URL and hence I get error message when opening a URL because actual when I click on 341183, it should only open url (I want  separate hyperlinks  for when I click on related project 341183)  http://pmattdev.it.att.com/itg/web/knta/crt/RequestDetail.jsp?REQUEST_ID=341183
 
if you have notice here there is a constant URL text http://pmattdev.it.att.com/itg/web/knta/crt/RequestDetail.jsp?REQUEST_ID=
and then we need to add " Related Project No" value at the end for each comma separated values...
 
I don't have to show the "Related Project No URL" column in the report, it's for your information here that I have Comma Seperated  URL values form db as well if it helps to convery created Related Project No in hyperlink.
 
How to make each "related project No" that points to septate URL so when user click on it,  it suppose to opens up the web page?
 
I am struggling to make URL when there is comma separated values in a single cell. how to link each comma separated value to the individual URL form.
 
Please let me know if any question or if you think there is a direct way in Power bi to solve it rather than getting URL column from DB. Thanks for your help in advance!
 
Thank you,
Vipul
 
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Patv , I think you have to split this into two columns. One column will have one hyperlink only.

https://www.tutorialgateway.org/how-to-split-columns-in-power-bi/

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Patv , I think you have to split this into two columns. One column will have one hyperlink only.

https://www.tutorialgateway.org/how-to-split-columns-in-power-bi/

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Hi Amit,

 

Ok. I knew I can split the column but was wondering If there is a way to add multiple hyperlinks in a single column.  Now, I know there is no way at least for now. Thank you for your reply. Appreicate it. 

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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