<?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 Copy Data via API - Looping through an input in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-via-API-Looping-through-an-input/m-p/4002051#M4102</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am quite new to pipelines and i am trying to copy data via an api using the lat and long from a table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can successfully copy data for one site using the parameters and url. However ideally i want it to run 25 times for 25 sets of lats and longs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had looked at using the lookup and a for each loop but I do not know how to put it all together. Any help would be greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jun 2024 13:09:06 GMT</pubDate>
    <dc:creator>higgy7</dc:creator>
    <dc:date>2024-06-20T13:09:06Z</dc:date>
    <item>
      <title>Copy Data via API - Looping through an input</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-via-API-Looping-through-an-input/m-p/4002051#M4102</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am quite new to pipelines and i am trying to copy data via an api using the lat and long from a table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can successfully copy data for one site using the parameters and url. However ideally i want it to run 25 times for 25 sets of lats and longs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had looked at using the lookup and a for each loop but I do not know how to put it all together. Any help would be greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 13:09:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-via-API-Looping-through-an-input/m-p/4002051#M4102</guid>
      <dc:creator>higgy7</dc:creator>
      <dc:date>2024-06-20T13:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Data via API - Looping through an input</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-via-API-Looping-through-an-input/m-p/4003889#M4122</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="397781" data-lia-user-login="higgy7" class="lia-mention lia-mention-user"&gt;higgy7&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thanks for using Fabric Community.&lt;BR /&gt;Can you please refer below links to get some idea on how to use it -&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=omj1---Mvaw" target="_blank"&gt;08 Microsoft Fabric Data Pipeline: How to Use Lookup and Foreach Activity in Data Pipeline (youtube.com)&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=cYC-YO3vp54" target="_blank"&gt;1.08-Building Iterative Logic in Microsoft Fabric Data Pipelines using ForEach Activity (youtube.com)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;My suggestion:&lt;BR /&gt;1. Use Lookup activity to get the latitudes and longitudes by using a query.&lt;BR /&gt;2. After fetching the data, use For Loop to interate over the data&lt;BR /&gt;3. Use Copy Activity and create the logic that required.&lt;BR /&gt;&lt;BR /&gt;Hope this is helpful. Please do let me know incase of further queries.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 10:41:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-via-API-Looping-through-an-input/m-p/4003889#M4122</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-21T10:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Data via API - Looping through an input</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-via-API-Looping-through-an-input/m-p/4004370#M4126</link>
      <description>&lt;P&gt;Thanks for this. The only piece i was missing was the syntax to bring in individual items from the lookup into items to use in the url. These videos showed this part in use.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 15:31:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-via-API-Looping-through-an-input/m-p/4004370#M4126</guid>
      <dc:creator>higgy7</dc:creator>
      <dc:date>2024-06-21T15:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Data via API - Looping through an input</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-via-API-Looping-through-an-input/m-p/4006428#M4153</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="397781" data-lia-user-login="higgy7" class="lia-mention lia-mention-user"&gt;higgy7&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I hope your query was answered. Please continue using Fabric Community on your further queries.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 07:41:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-via-API-Looping-through-an-input/m-p/4006428#M4153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-24T07:41:42Z</dc:date>
    </item>
  </channel>
</rss>

