<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Looping through URL fabric pipeline in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Looping-through-URL-fabric-pipeline/m-p/3919406#M3322</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="735290" data-lia-user-login="DevinL" class="lia-mention lia-mention-user"&gt;DevinL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please try to connect your Lakehouse using SQL Endpoint string.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please follow the below steps.&lt;/P&gt;
&lt;P&gt;Copy the SQL connection string for SQL analytics endpoint.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Choose a data source as Azure SQL database and connect using the SQL connection string.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Now you were able to Query the table.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I hope this information helps. Please do let us know if you have any further queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 15 May 2024 06:25:26 GMT</pubDate>
    <dc:creator>v-cboorla-msft</dc:creator>
    <dc:date>2024-05-15T06:25:26Z</dc:date>
    <item>
      <title>Looping through URL fabric pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Looping-through-URL-fabric-pipeline/m-p/3915232#M3273</link>
      <description>&lt;P&gt;Background: I've pulled all account information from a REST API using a data pipeline and stored it in a datalake table called "Accounts".&amp;nbsp; I now want to pull debit transaction information for each id in the Accounts table and store the data in a new datalake table called "Debits".&amp;nbsp; The URL that I would need to use is something like: //mysource.com/api/accounts/{id}/transactions/debits/&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The API doesn't have an option to pull all debits at once, but requires you to replace the {id} with the individual ID's that are now in my Source_Accounts table in the id column.&lt;BR /&gt;&lt;BR /&gt;How does someone go about automating this in Microsoft Fabric?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 20:48:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Looping-through-URL-fabric-pipeline/m-p/3915232#M3273</guid>
      <dc:creator>DevinL</dc:creator>
      <dc:date>2024-05-14T20:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through URL fabric pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Looping-through-URL-fabric-pipeline/m-p/3918069#M3300</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="735290" data-lia-user-login="DevinL" class="lia-mention lia-mention-user"&gt;DevinL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for using Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;I have tried to repro the scenario. Please find the screenshot for reference.&lt;/P&gt;
&lt;P&gt;Sample rest API -&amp;nbsp;&lt;A href="https://reqres.in/api/users?page=2" target="_blank"&gt;reqres.in/api/users?page=2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Data in Lakehouse.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Pipeline configuration:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Output:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Try to use the below mentioned code in pipeline expression builder&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;//mysource.com/api/accounts/@variables('id')/transactions/debits/ &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;If the issue still persists, please do let us know. Glad to help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 17:16:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Looping-through-URL-fabric-pipeline/m-p/3918069#M3300</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-05-14T17:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through URL fabric pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Looping-through-URL-fabric-pipeline/m-p/3918243#M3307</link>
      <description>&lt;P&gt;Thank you for your response!&lt;BR /&gt;&lt;BR /&gt;I've tried to follow your steps but unfortunately there isn't an option to query when selecting a DataLake.&amp;nbsp; I tried doing "Dynamic Content" with "select id from mytablename" and it throws an error stating that my table doesn't exist.&lt;BR /&gt;&lt;BR /&gt;I can select the table's name in a dropdown, but I'm unsure how to only pass the column I need into the ForEach.&lt;BR /&gt;&lt;BR /&gt;Thanks again for taking the time to help me out!&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 18:36:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Looping-through-URL-fabric-pipeline/m-p/3918243#M3307</guid>
      <dc:creator>DevinL</dc:creator>
      <dc:date>2024-05-14T18:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through URL fabric pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Looping-through-URL-fabric-pipeline/m-p/3919406#M3322</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="735290" data-lia-user-login="DevinL" class="lia-mention lia-mention-user"&gt;DevinL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please try to connect your Lakehouse using SQL Endpoint string.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please follow the below steps.&lt;/P&gt;
&lt;P&gt;Copy the SQL connection string for SQL analytics endpoint.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Choose a data source as Azure SQL database and connect using the SQL connection string.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Now you were able to Query the table.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I hope this information helps. Please do let us know if you have any further queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 06:25:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Looping-through-URL-fabric-pipeline/m-p/3919406#M3322</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-05-15T06:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through URL fabric pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Looping-through-URL-fabric-pipeline/m-p/3921555#M3355</link>
      <description>&lt;P&gt;Thank you again, cboorla.&lt;BR /&gt;&lt;BR /&gt;I'm able to query fine now and the correct values are being passed from the lookup to the ForEach.&lt;BR /&gt;&lt;BR /&gt;I'm unclear at this point what should be in the Set variable 1 within the ForEach. Also, I'm guessing that within the ForEach is where I would put my REST API pull with the variables('id') in the address.&amp;nbsp; I guess I'm confused on how to place the lookup value into the variable('id').&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 18:52:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Looping-through-URL-fabric-pipeline/m-p/3921555#M3355</guid>
      <dc:creator>DevinL</dc:creator>
      <dc:date>2024-05-15T18:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through URL fabric pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Looping-through-URL-fabric-pipeline/m-p/3923685#M3382</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="735290" data-lia-user-login="DevinL" class="lia-mention lia-mention-user"&gt;DevinL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can set the value - id to variable cust_id using set variable activity.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;You can use this variable cust_id in between your relative URL, in order to generate the URL dynamically.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Note : I just use the dummy relative URL in place of that you can replace with actual URL accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information helps. Please do let me know in case of any further queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 10:50:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Looping-through-URL-fabric-pipeline/m-p/3923685#M3382</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-05-16T10:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through URL fabric pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Looping-through-URL-fabric-pipeline/m-p/3924704#M3388</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="608020" data-lia-user-login="v-cboorla-msft" class="lia-mention lia-mention-user"&gt;v-cboorla-msft&lt;/a&gt;&amp;nbsp; I've tried using the Web Activity and I get a 404 error. I also tried doing a Copy Data and used the same address //address.com/api/v1/accounts/@variables('cust_id')/transactions/debits&amp;nbsp;&amp;nbsp;&amp;nbsp;and again got a 404 error.&lt;BR /&gt;&lt;BR /&gt;It doesn't show it on the web activity error details, but it does on the copy data details that the variable part of the address is not being replaced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error shows the address as:&lt;BR /&gt;//address.com/api/v1/accounts/@variables('cust_id')/transactions/debits&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When it should show as:&lt;BR /&gt;//address.com/api/v1/accounts/1234/transactions/debits&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 17:14:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Looping-through-URL-fabric-pipeline/m-p/3924704#M3388</guid>
      <dc:creator>DevinL</dc:creator>
      <dc:date>2024-05-21T17:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through URL fabric pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Looping-through-URL-fabric-pipeline/m-p/4009811#M4195</link>
      <description>&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/608020" target="_blank" rel="noopener"&gt;@v-cboorla-msft&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;I may have figured out a solution, although it seems extremely slow. The address for the API call has to be concatenated with the variable call.&amp;nbsp;@concat('/api/accounts/', variables('cust_id'),'/transactions/debits') was what I used to make it work.&lt;BR /&gt;&lt;BR /&gt;This works, but it takes about 20 seconds per pull. Let's say there are 50,000 records to pull.&amp;nbsp; That would put this at around 11 days to pull all the data. Is there no faster way to do this within a fabric pipeline?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 21:40:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Looping-through-URL-fabric-pipeline/m-p/4009811#M4195</guid>
      <dc:creator>DevinL</dc:creator>
      <dc:date>2024-06-25T21:40:36Z</dc:date>
    </item>
  </channel>
</rss>

