<?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 Help Understanding &amp;quot;Set Pipeline Variable&amp;quot; in Microsoft Fabric Pipelines in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Help-Understanding-quot-Set-Pipeline-Variable-quot-in-Microsoft/m-p/4270473#M6244</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m working on a data pipeline in Microsoft Fabric and came across the "Set Pipeline Variable" activity, but I'm not quite clear on its purpose and usage. Could someone explain:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What exactly is a pipeline variable in Microsoft Fabric, and what is it typically used for?&lt;/LI&gt;&lt;LI&gt;At what stage or part of the pipeline process do you usually use this variable-setting activity?&lt;/LI&gt;&lt;LI&gt;What’s the difference between "Pipeline variable" and "Pipeline return value" in the "Variable type" option? How does each one function in the context of a pipeline?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any insights or examples would be greatly appreciated! Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Nov 2024 10:15:47 GMT</pubDate>
    <dc:creator>HamidBee</dc:creator>
    <dc:date>2024-11-05T10:15:47Z</dc:date>
    <item>
      <title>Help Understanding "Set Pipeline Variable" in Microsoft Fabric Pipelines</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Help-Understanding-quot-Set-Pipeline-Variable-quot-in-Microsoft/m-p/4270473#M6244</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m working on a data pipeline in Microsoft Fabric and came across the "Set Pipeline Variable" activity, but I'm not quite clear on its purpose and usage. Could someone explain:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What exactly is a pipeline variable in Microsoft Fabric, and what is it typically used for?&lt;/LI&gt;&lt;LI&gt;At what stage or part of the pipeline process do you usually use this variable-setting activity?&lt;/LI&gt;&lt;LI&gt;What’s the difference between "Pipeline variable" and "Pipeline return value" in the "Variable type" option? How does each one function in the context of a pipeline?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any insights or examples would be greatly appreciated! Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 10:15:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Help-Understanding-quot-Set-Pipeline-Variable-quot-in-Microsoft/m-p/4270473#M6244</guid>
      <dc:creator>HamidBee</dc:creator>
      <dc:date>2024-11-05T10:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help Understanding "Set Pipeline Variable" in Microsoft Fabric Pipelines</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Help-Understanding-quot-Set-Pipeline-Variable-quot-in-Microsoft/m-p/4270543#M6246</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="344683" data-lia-user-login="HamidBee" class="lia-mention lia-mention-user"&gt;HamidBee&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. To temporary store a value which you can easily reuse that value in other steps of your data pipeline and reference it via the variable. It is a typical concept of programming as well.&lt;/P&gt;&lt;P&gt;2. An example has been shared by Microsoft, you can for example is it in a counter in an for each loop to keep track of the number of loops:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/data-factory/control-flow-set-variable-activity#incrementing-a-variable" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/data-factory/control-flow-set-variable-activity#incrementing-a-variable&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3. The Pipeline return value can be used to interact with values of child pipelines, for reference see this section of the same document:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/data-factory/control-flow-set-variable-activity#setting-a-pipeline-return-value-with-ui" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/data-factory/control-flow-set-variable-activity#setting-a-pipeline-return-value-with-ui&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/data-factory/tutorial-pipeline-return-value" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/data-factory/tutorial-pipeline-return-value&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully this helps a bit?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 11:05:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Help-Understanding-quot-Set-Pipeline-Variable-quot-in-Microsoft/m-p/4270543#M6246</guid>
      <dc:creator>Expiscornovus</dc:creator>
      <dc:date>2024-11-05T11:05:38Z</dc:date>
    </item>
  </channel>
</rss>

