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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
TanHY
Helper I
Helper I

Create URL link using measure

Hi guys, 
I am trying to embeded a url under a data using measure. The measure is as below:

Entity ID 2 =
CONCATENATEX(
    'form-relationships',
    'form-relationships'[Index] & "." & " " & 'form-relationships'[entity_id_2_title] & " <a href='" & 'form-relationships'[entity_id_2_url] & "'>" & 'form-relationships'[entity_id_2_title] & "</a>",
    UNICHAR(10)
)
 
The output that I wished is as below:
TanHY_1-1699595215169.png

However, I am not able to do this. Is there any solution on it?

 

Thanks in advance.

 

2 REPLIES 2
Anonymous
Not applicable

you're trying to create a measure in Power BI that concatenates values from the 'form-relationships' table, including an HTML link (<a> tag) to an external URL. However, in Power BI, measures usually output text or numeric values, and they don't directly interpret HTML tags for rendering.

If you want to use the measure in a table or a card visualization in Power BI, and you want the URL to be clickable, you can use the "Data category" settings in Power BI to format the column appropriately.

Hi,

I did format the column appropriately under the category for Web Url for the url column. Do I miss out anything? Hope can get some advices from you.

 

Thanks in advance.

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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