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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Call custom column into a function

Hello community,

I have a list of URL's in a custom column in Table 1 extracted from a webside. Also, I want to extract data from each link in the list creating a Table 2 and then converted it in a function. Is there any chance to call that custom column into my function using DAX coding that allows me to put out Table 2?

(Address as text) as table =>

let
Source = Web.BrowserContents("https://website.com/address/numbers", [WaitFor=[Timeout=#duration(0, 0, 0, 2)]]),
#"Extracted Table From Html" = Html.Table(Source, {{"Column1", ".key-row-bg-colour .tbl-row-cell-heading"}, {"Column2", ".key-row-bg-colour TD"}}, [RowSelector=".key-row-bg-colour"]),
#"Changed Type" = Table.TransformColumnTypes(#"Extracted Table From Html",{{"Column1", type text}, {"Column2", type text}})
in
#"Changed Type"


"https://website.com/Different_addressess_from_customColumn/different_numbers_from_customColumn" I do not know if that makes sense to anybody, I am still a newbie.

1 ACCEPTED SOLUTION
Jimmy801
Community Champion
Community Champion

Hello

 

this would be quite difficult to describe to newbie.

You can create a basic function to extract the data from such a website https://website.com/Different_addressess_from_customColumn/different_numbers_from_customColumn"  using two parameters to build the complete path. Then use the new function and add a new column with the function, imputing values of 2 different columns to feed the function. function could look like

 

(addresscustomcolumn, numberscustomcolumn) =>

let

    webresult = ource = Web.BrowserContents("https://website.com/" & addresscustomcolumn & "/" & numberscustomcolumn etc....

 

Hope you got an idea how to work it out

Good look

Jimmy

View solution in original post

4 REPLIES 4
Jimmy801
Community Champion
Community Champion

Hello

 

this would be quite difficult to describe to newbie.

You can create a basic function to extract the data from such a website https://website.com/Different_addressess_from_customColumn/different_numbers_from_customColumn"  using two parameters to build the complete path. Then use the new function and add a new column with the function, imputing values of 2 different columns to feed the function. function could look like

 

(addresscustomcolumn, numberscustomcolumn) =>

let

    webresult = ource = Web.BrowserContents("https://website.com/" & addresscustomcolumn & "/" & numberscustomcolumn etc....

 

Hope you got an idea how to work it out

Good look

Jimmy

Anonymous
Not applicable

Well, It took me a while to understand the process but I made it work. Thanks for the help.

However, come back if you need further assistance

 

If this post helps or solves your problem, please mark it as solution.
Kudos are nice to - thanks
Have fun

Jimmy

If my post helps or solves your problem, please mark it as solution.
Kudos are nice to - thanks
Have fun

Jimmy

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors