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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors