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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How do I add a column with unique URLs in a Power BI table based on another column's values?

I am working with a table in Power BI and need to add a new column containing unique URLs. Each URL in this new column should be generated based on the values from another existing column in the table. I am looking for a way to create these hyperlinks so that when users click on them, they are directed to specific web pages related to the values in the original column. How can I achieve this?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thank you for your assistance. 

View solution in original post

2 REPLIES 2
ManuelBolz
Responsive Resident
Responsive Resident

Hello @Anonymous 

 

Here I have built a small example for you:

Power Query:

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WSsssKi5R0lEqTk3Oz0tJBbJKMjKLUoC0W1FiXrZSrE60UmJBQWoOUKQgNbEISCVnpBYVVQIZPqWZxUqxsQA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Domain = _t, #"Sublevel Domain" = _t, Path = _t, Name = _t]),
    Type = Table.TransformColumnTypes(Source,{{"Domain", type text}, {"Sublevel Domain", type text}, {"Path", type text}, {"Name", type text}}),
    ColumnLinks = Table.AddColumn(Type, "Links", each "http://www." & [Domain] & "/" & [Sublevel Domain] & [Domain] & ".com/" & [Name] & "/", type text)
in
    ColumnLinks


Power BI Desktop:
Make sure the [Links] column is defined as Data Category “Web URL”

ManuelBolz_0-1717917300674.png

 


Best regards from Germany
Manuel Bolz


If this post helped you, please consider Accept as Solution so other members can find it faster.

🤝Follow me on LinkedIn

Anonymous
Not applicable

Thank you for your assistance. 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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