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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
saipawar
Helper IV
Helper IV

how to hyperlink text in table with another url field?

Hi,

 

I have two columns namely, 1- content name and 2-the web url/hyperlink.

How can I overlay the url such that the content name is clickable?

 

Should I create a new measure or  a column to capture this?

 

Thanks

 

1 ACCEPTED SOLUTION
AllisonKennedy
Super User
Super User

It sounds like you already have the columns you need in column 1 and 2. Just put them both in a table and format using conditional formatting.

EDIT: You actually only need to put the link text/description in the table, and apply conditional formatting to it by using field value and choosing URL as the field, first, ok.
https://docs.microsoft.com/en-us/power-bi/create-reports/power-bi-hyperlinks-in-tables#format-link-t...
Make sure the link is formatted properly:
URLS must start with one of the following:

http
https
-mailto
file
ftp
news
telnet


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

3 REPLIES 3
v-alq-msft
Community Support
Community Support

Hi, @saipawar 

 

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end. 

Table:

b1.png

 

You may create a table visual and then go to 'Visualizations'=>'Format'=>'Conditional formatting'=>set the 'Web URL' for 'Name' as 'On'.

b2.png

 

Finally you may click the corresponding 'Name' to go to specific link.

b3.png

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks Allan @v-alq-microsoft for adding pictures and a file to the solution I suggested. 🙂

@saipawar can you please advise if this has been resolved? If you have more questions, let us know, otherwise please mark a solution so community knows this has been answered.
Cheers!

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

AllisonKennedy
Super User
Super User

It sounds like you already have the columns you need in column 1 and 2. Just put them both in a table and format using conditional formatting.

EDIT: You actually only need to put the link text/description in the table, and apply conditional formatting to it by using field value and choosing URL as the field, first, ok.
https://docs.microsoft.com/en-us/power-bi/create-reports/power-bi-hyperlinks-in-tables#format-link-t...
Make sure the link is formatted properly:
URLS must start with one of the following:

http
https
-mailto
file
ftp
news
telnet


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.