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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Hyperlinked Data from Source to Power Query

Hi Everyone,

 

I'm looking for an elegant solution for maintaining hyperlinks between my data source (excel) into Power Query. My goal is to keep the original hyperlink that is embedded in excel through power query and include it on my table visual. See the images below for additional details on the source and result. 

 

Below is excel and you can see the hyperlinked data w/ URL underneath. 

training.PNG

 

 

 

 

 

In power query, it only gives me the original text from the column and not the URL. 

hcp.PNG

 

 

 

 

Thank you everyone!

 

-PBInJelly1

1 REPLY 1
edhans
Super User
Super User

Power Query cannot see any formatting, and a URL assigned to a cell in Excel falls into that category. the URL would need to be represented as a text value next to the cell or in the table somehow. 

For example, you could have the number 12345670 in a cell and formatted using "$#,###," as the format. Excel will show $12,346, correctly rounded to the nearest 1,000, but Power Query only sees 12345670.

This archived article will show you how to use VBA in Excel to extract URLs, which you could run before Power Query gets the data. How to extract a URL from a hyperlink on Excel (archive.org)



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors
Top Kudoed Authors