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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.