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
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
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.