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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
ceesarcaceres
Regular Visitor

Passing a string reference Id from another table using the web connector

Hi,

 

I have a table with products ids that extract from Web connector like that:

ceesarcaceres_0-1740693102314.png

 

I need to extract another API from web that it's required pass the id to url. So, for not to extract id by id, i want to use this field id to pass the id for url, something like that:

 

 

First Example:

let
    Id = Product[Id],
    #"To table" = Table.FromList(Id, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
    Source = Web.Contents("url?token=&id="&Id&""),
    Custom = Json.Document(Source),
    returnTable = Custom[returnTable]
in
    returnTable

 

 

or

 

 

Second Example using Parameters:

let
    Id = #"Put Parameters",
    #"To table" = Table.FromList(Id, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
    Source = Web.Contents("url?token=&id=Id"),
    Custom = Json.Document(Source),
    returnTable = Custom[returnTable]
in
    returnTable

 

 

In second example I created an parameter that make a query on table Product.

 

 

Anyone have a idea that can help me ?

 

Thank you !

1 ACCEPTED SOLUTION
ChielFaber
Super User
Super User

I believe you can tackle your problem by first creating a function with one id and then add a function column to the table with id's. I've done something similar earlier. I just the very great technique shown by Patrick LeBlanc in this Guyinacube video about importing nfl data for multiple years:

https://www.youtube.com/watch?v=Z0U9UL9ORh8

 

 


[Tip] Keep CALM and DAX on.
[Solved?] Hit “Accept as Solution” and leave a Kudos.
[About] Chiel | SuperUser (2023–2) |

View solution in original post

2 REPLIES 2
ChielFaber
Super User
Super User

I believe you can tackle your problem by first creating a function with one id and then add a function column to the table with id's. I've done something similar earlier. I just the very great technique shown by Patrick LeBlanc in this Guyinacube video about importing nfl data for multiple years:

https://www.youtube.com/watch?v=Z0U9UL9ORh8

 

 


[Tip] Keep CALM and DAX on.
[Solved?] Hit “Accept as Solution” and leave a Kudos.
[About] Chiel | SuperUser (2023–2) |

It's works Chiel, thank you for help

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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