<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>zeitgeistcode.com</title>
	<atom:link href="https://zeitgeistcode.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://zeitgeistcode.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Mon, 07 Aug 2023 19:24:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>

<image>
	<url>https://zeitgeistcode.com/wp-content/uploads/2021/01/cropped-zeitgeistcode-favicon-32x32.png</url>
	<title>zeitgeistcode.com</title>
	<link>https://zeitgeistcode.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How To Use The PowerApps Distinct Function</title>
		<link>https://zeitgeistcode.com/powerapps-distinct/</link>
					<comments>https://zeitgeistcode.com/powerapps-distinct/#respond</comments>
		
		<dc:creator><![CDATA[Johannes]]></dc:creator>
		<pubDate>Mon, 07 Aug 2023 18:27:26 +0000</pubDate>
				<category><![CDATA[PowerApps]]></category>
		<guid isPermaLink="false">https://zeitgeistcode.com/?p=4751</guid>

					<description><![CDATA[The PowerApps Distinct function helps to remove duplicate values from a given dataset or column and returns only the unique values. This can be useful when you want to present a list of unique items to users or when you need to perform calculations or analysis based on distinct values. PowerApps Distinct Function Syntax Input [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>The PowerApps Distinct function helps to remove duplicate values from a given dataset or column and returns only the unique values. This can be useful when you want to present a list of unique items to users or when you need to perform calculations or analysis based on distinct values.</p><!-- Ezoic - wp_under_page_title - under_page_title --><div id="ezoic-pub-ad-placeholder-102"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_page_title - under_page_title -->


				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1 uagb-toc__collapse uagb-block-0e74c384      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							PowerApps Distinct Function													<svg xmlns="https://www.w3.org/2000/svg" viewBox= "0 0 384 512"><path d="M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"></path></svg>
																			</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#powerapps-distinct-function" class="uagb-toc-link__trigger">PowerApps Distinct Function</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#syntax" class="uagb-toc-link__trigger">Syntax</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#powerapps-distinct-examples" class="uagb-toc-link__trigger">PowerApps Distinct Examples</a></ul></ol>					</div>
									</div>
				</div>
			


<div class="inherit-container-width wp-block-group alignfull is-layout-constrained wp-block-group-is-layout-constrained"><div class="wp-block-group__inner-container">
<h2 class="wp-block-heading pa-function-h">PowerApps Distinct Function</h2>



<p></p>



<h3 class="wp-block-heading">Syntax</h3>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">Distinct( Table, Formula )</code></pre>



<h4 class="wp-block-heading">Input parameters</h4>



<ul class="wp-block-list">
<li><strong>Table (mandatory):</strong>  The table that potentially contains duplicate entries for a property.</li>



<li><strong>Formula (mandatory):</strong> The property formula that addresses the property that potentially contains duplicate entries.</li><!-- Ezoic - wp_under_first_paragraph - under_first_paragraph --><div id="ezoic-pub-ad-placeholder-110"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_first_paragraph - under_first_paragraph -->
</ul>



<h4 class="wp-block-heading">Return value</h4>



<ul class="wp-block-list">
<li>A set of the property described addresses in the input parameters that contains only unique values &#8211; every entry only exists once.</li>
</ul>



<h3 class="wp-block-heading">PowerApps Distinct Examples</h3>



<p>To understand the distinct  function in PowerApps, we take a look at some examples.</p>



<h4 class="wp-block-heading">Simple PowerApps Distinct Collection Example</h4>



<p>Let&#8217;s start with a very simple example.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">ClearCollect(numbers,1,2,2,3,1,3,4);

// numbers = [1,2,2,3,1,3,4]

ClearCollect(uniqueNumbers,Distinct(numbers,Value));

// uniqueNumbers = [1,2,3,4]</code></pre>



<p>Duplicate entries are removed and every entry is unique.</p>



<h4 class="wp-block-heading">PowerApps Distinct Sort And Filter Example</h4>



<p>Let&#8217;s take a look at a more complex example that is more realistic.</p><!-- Ezoic - wp_under_second_paragraph - under_second_paragraph --><div id="ezoic-pub-ad-placeholder-111"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_second_paragraph - under_second_paragraph -->



<p class="has-text-align-left">Imagine we have a product catalog like this:</p>



<figure class="wp-block-table alignfull"><table><thead><tr><th class="has-text-align-center" data-align="center">Product</th><th class="has-text-align-center" data-align="center">Category</th><th class="has-text-align-center" data-align="center">Price</th></tr></thead><tbody><tr><td class="has-text-align-center" data-align="center">Apple Print Shirt</td><td class="has-text-align-center" data-align="center">Shirts</td><td class="has-text-align-center" data-align="center">$19,99</td></tr><tr><td class="has-text-align-center" data-align="center">Slim Fit Jeans</td><td class="has-text-align-center" data-align="center">Jeans</td><td class="has-text-align-center" data-align="center">$50,00</td></tr><tr><td class="has-text-align-center" data-align="center">Straight Jeans</td><td class="has-text-align-center" data-align="center">Jeans</td><td class="has-text-align-center" data-align="center">$76,50</td></tr><tr><td class="has-text-align-center" data-align="center">White Sneaker</td><td class="has-text-align-center" data-align="center">Shoes</td><td class="has-text-align-center" data-align="center">$49,29</td></tr></tbody></table></figure>



<p class="has-text-align-left">The data of the product catalog might come from a SharePoint list or database. To keep it simple, we define the data simply by ourselves.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">ClearCollect(
    products,
    { Product: &quot;Apple Print Shirt&quot;, Category: &quot;Shirts&quot;, Price: &quot;$19,99&quot;},
    { Product: &quot;Slim Fit Jeans&quot;, Category: &quot;Jeans&quot;, Price: &quot;$50,00&quot;},
    { Product: &quot;Straight Jeans&quot;, Category: &quot;Jeans&quot;, Price: &quot;$76,50&quot;},
    { Product: &quot;White Sneaker&quot;, Category: &quot;Shoes&quot;, Price: &quot;$49,29&quot;}
);</code></pre>
</div></div>



<p>Let&#8217;s create a simple gallery!</p>



<figure class="wp-block-image aligncenter size-full has-custom-border"><img fetchpriority="high" decoding="async" width="506" height="450" src="https://zeitgeistcode.com/wp-content/uploads/2023/08/powerapps-distinct-gallery.png" alt="powerapps distinct gallery" class="wp-image-4767" style="border-style:none;border-width:0px" title="How To Use The PowerApps Distinct Function 1" srcset="https://zeitgeistcode.com/wp-content/uploads/2023/08/powerapps-distinct-gallery.png 506w, https://zeitgeistcode.com/wp-content/uploads/2023/08/powerapps-distinct-gallery-300x267.png 300w" sizes="(max-width: 506px) 100vw, 506px" /></figure>



<p>Now we want to filter products by category by clicking on a category in a sidebar like this:</p>



<figure class="wp-block-image aligncenter size-large"><img decoding="async" width="1024" height="426" src="https://zeitgeistcode.com/wp-content/uploads/2023/08/powerapps-distinct-filter-1024x426.png" alt="powerapps distinct filter" class="wp-image-4769" title="How To Use The PowerApps Distinct Function 2" srcset="https://zeitgeistcode.com/wp-content/uploads/2023/08/powerapps-distinct-filter-1024x426.png 1024w, https://zeitgeistcode.com/wp-content/uploads/2023/08/powerapps-distinct-filter-300x125.png 300w, https://zeitgeistcode.com/wp-content/uploads/2023/08/powerapps-distinct-filter-768x319.png 768w, https://zeitgeistcode.com/wp-content/uploads/2023/08/powerapps-distinct-filter.png 1380w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>The Items property of the gallery for the sidebar uses the Distinct function. We also use a Distinct Sort function combination.</p><!-- Ezoic - wp_mid_content - mid_content --><div id="ezoic-pub-ad-placeholder-112"  data-inserter-version="2"></div><!-- End Ezoic - wp_mid_content - mid_content -->



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">Sort(Distinct(products,Category),Value)</code></pre>



<p>The Items property of the gallery for the products simply looks like this:</p>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">Filter(products,Category = CategoriesGallery.Selected.Value)</code></pre>



<p>As you can see, the Distinct function can be very useful!</p>



<p>Nevertheless, keep in mind that the Distinct function is primarily used for working with datasets that are not necessarily already unique. If you are dealing with a dataset that inherently contains only unique values (e.g., primary keys in a database), using Distinct may not be necessary.</p><!-- Ezoic - wp_long_content - long_content --><div id="ezoic-pub-ad-placeholder-113"  data-inserter-version="2"></div><!-- End Ezoic - wp_long_content - long_content -->
]]></content:encoded>
					
					<wfw:commentRss>https://zeitgeistcode.com/powerapps-distinct/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Delete A SharePoint Site</title>
		<link>https://zeitgeistcode.com/how-to-delete-a-sharepoint-site/</link>
					<comments>https://zeitgeistcode.com/how-to-delete-a-sharepoint-site/#respond</comments>
		
		<dc:creator><![CDATA[Johannes]]></dc:creator>
		<pubDate>Mon, 07 Aug 2023 12:49:31 +0000</pubDate>
				<category><![CDATA[SharePoint]]></category>
		<guid isPermaLink="false">https://zeitgeistcode.com/?p=1299</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div id="rank-math-howto" class="rank-math-block" style="text-align:center">
<div class="rank-math-howto-description">

<p>Follow this step-by-step guide on how to delete a SharePoint Online Site</p><!-- Ezoic - wp_under_page_title - under_page_title --><div id="ezoic-pub-ad-placeholder-102"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_page_title - under_page_title -->

</div>

<ol class="rank-math-steps ">
<li id="howto-step-1675870899718" class="rank-math-step">
<h4 class="rank-math-step-title ">Navigate to the SharePoint site you want to delete and click on the settings symbol</h4>
<div class="rank-math-step-content "><img decoding="async" width="2488" height="570" src="https://zeitgeistcode.com/wp-content/uploads/2023/08/Delete-A-SharePoint-Site-1.png" class="attachment-full size-full" alt="Delete A SharePoint Site 1" title="How To Delete A SharePoint Site 3"><p>Click on settings symbol</p>
</div>
</li>
<li id="howto-step-1691412291482" class="rank-math-step">
<h4 class="rank-math-step-title ">Click on &#8216;Site information&#8217;</h4>
<div class="rank-math-step-content "><img decoding="async" width="612" height="610" src="https://zeitgeistcode.com/wp-content/uploads/2023/08/Delete-A-SharePoint-Site-2.png" class="attachment-full size-full" alt="Delete A SharePoint Site 2" title="How To Delete A SharePoint Site 4"><p>Click on Site infotmation</p>
</div>
</li><!-- Ezoic - wp_under_first_paragraph - under_first_paragraph --><div id="ezoic-pub-ad-placeholder-110"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_first_paragraph - under_first_paragraph -->
<li id="howto-step-1691412321522" class="rank-math-step">
<h4 class="rank-math-step-title ">Click on &#8216;Delete site&#8217;</h4>
<div class="rank-math-step-content "><img decoding="async" width="650" height="854" src="https://zeitgeistcode.com/wp-content/uploads/2023/08/Delete-A-SharePoint-Site-3.png" class="attachment-full size-full" alt="Delete A SharePoint Site 3" title="How To Delete A SharePoint Site 5"><p>Click on Delete site</p>
</div>
</li>
<li id="howto-step-1691412340601" class="rank-math-step">
<h4 class="rank-math-step-title ">Confirm Delete by clicking on &#8216;Delete&#8217;</h4>
<div class="rank-math-step-content "><img decoding="async" width="2434" height="766" src="https://zeitgeistcode.com/wp-content/uploads/2023/08/Delete-A-SharePoint-Site-4.png" class="attachment-full size-full" alt="Delete A SharePoint Site 4" title="How To Delete A SharePoint Site 6"><p>Confirm Delete by clicking on Delete</p>
</div>
</li>
</ol>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://zeitgeistcode.com/how-to-delete-a-sharepoint-site/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Power Automate Sort Function Explained</title>
		<link>https://zeitgeistcode.com/power-automate-sort-function/</link>
					<comments>https://zeitgeistcode.com/power-automate-sort-function/#respond</comments>
		
		<dc:creator><![CDATA[Johannes]]></dc:creator>
		<pubDate>Mon, 07 Aug 2023 12:25:39 +0000</pubDate>
				<category><![CDATA[Power Automate]]></category>
		<guid isPermaLink="false">https://zeitgeistcode.com/?p=4626</guid>

					<description><![CDATA[The Power Automate Sort function enables the ordering of items in a collection. The objects in the collection can be sorted using a key with a basic data type. In this article, I&#x2019;ll introduce you to the sort function and will provide a step-by-step guide on how to use the function in a Microsoft flow. [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>The Power Automate Sort function enables the ordering of items in a collection. The objects in the collection can be sorted using a key with a basic data type.
</p><!-- Ezoic - wp_under_page_title - under_page_title --><div id="ezoic-pub-ad-placeholder-102"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_page_title - under_page_title -->



<p>In this article, I&#x2019;ll introduce you to the sort function and will provide a step-by-step guide on how to use the function in a Microsoft flow.</p>


				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1 uagb-toc__collapse uagb-block-9f945add      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							Power Automate Sort Function													<svg xmlns="https://www.w3.org/2000/svg" viewBox= "0 0 384 512"><path d="M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"></path></svg>
																			</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#power-automate-sort-function" class="uagb-toc-link__trigger">Power Automate Sort Function</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#syntax" class="uagb-toc-link__trigger">Syntax</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#power-automate-sort-expression-examples" class="uagb-toc-link__trigger">Power Automate Sort Expression Examples</a></li></ul></li><!-- Ezoic - wp_under_first_paragraph - under_first_paragraph --><div id="ezoic-pub-ad-placeholder-110"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_first_paragraph - under_first_paragraph --><li class="uagb-toc__list"><a href="#how-to-use-the-power-automate-sort-function" class="uagb-toc-link__trigger">How To Use The Power Automate Sort Function</a></ul></ol>					</div>
									</div>
				</div>
			


<h2 class="wp-block-heading pa-function-h">Power Automate Sort Function</h2>



<p>Order elements within a collection. The objects within the collection can be sorted based on any key with a simple data type.
</p>



<h3 class="wp-block-heading">Syntax</h3>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">sort([&lt;collection&gt;], &lt;sortBy&gt;?)</code></pre>



<h4 class="wp-block-heading">Input parameters</h4>



<ul class="wp-block-list">
<li><strong>collection (mandatory)</strong>: The collection to be sorted.</li>



<li><strong>sortBy (optional)</strong>: The key of the property that should be used for sorting the collection.</li>
</ul>



<h4 class="wp-block-heading">Return value</h4>



<ul class="wp-block-list">
<li><strong>Returns the sorted collection.</strong></li>
</ul>



<h3 class="wp-block-heading">Power Automate Sort Expression Examples</h3>



<p>The most simple examples of a sort expression for sorting an array of numbers:</p><!-- Ezoic - wp_under_second_paragraph - under_second_paragraph --><div id="ezoic-pub-ad-placeholder-111"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_second_paragraph - under_second_paragraph -->



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">sort(createArray(3,1,2))
=&gt; [1,2,3]</code></pre>



<h4 class="wp-block-heading">Power Automate sort reverse order (descending order)</h4>



<p>To sort an array in reverse order, you need to sort first in ascending order and then reverse the order with the <a href="https://zeitgeistcode.com/power-automate-reverse-function/" data-type="post" data-id="4616">Power Automate reverse function</a>.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">reverse(sort(createArray(3,1,2)))
=&gt; [3,2,1]</code></pre>



<p>Using reverse alone is not enough, because the reverse function simply reverses the order without sorting.</p>



<h4 class="wp-block-heading">Power Automate Sort Object by column</h4>



<p>We have this object as input and want to sort it by last name:</p><!-- Ezoic - wp_mid_content - mid_content --><div id="ezoic-pub-ad-placeholder-112"  data-inserter-version="2"></div><!-- End Ezoic - wp_mid_content - mid_content -->



<pre class="wp-block-prismatic-blocks"><code class="language-json">{
  &quot;persons&quot;: [
    {
      &quot;firstname&quot;: &quot;Sally&quot;,
      &quot;lastname&quot;: &quot;Smith&quot;
    },
    {
      &quot;firstname&quot;: &quot;John&quot;,
      &quot;lastname&quot;: &quot;Doe&quot;
    }
  ]
}</code></pre>



<p>You can use the following sort expression for this:</p>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">sort(variables(&#039;persons&#039;)?[&#039;persons&#039;],&#039;lastname&#039;)=&gt; [3,2,1]</code></pre>



<p>You will get a sorted object:</p>



<pre class="wp-block-prismatic-blocks"><code class="language-json">[
  {
    &quot;firstname&quot;: &quot;John&quot;,
    &quot;lastname&quot;: &quot;Doe&quot;
  },
  {
    &quot;firstname&quot;: &quot;Sally&quot;,
    &quot;lastname&quot;: &quot;Smith&quot;
  }
]</code></pre>



<h2 class="wp-block-heading has-text-align-center">How To Use The Power Automate Sort Function</h2>


<div id="rank-math-howto" class="rank-math-block" style="text-align:center">
<div class="rank-math-howto-description">

<p>Follow the steps to use the Power Automate Sort function in a flow.</p>

</div>

<ol class="rank-math-steps ">
<li id="howto-step-1660547086662" class="rank-math-step">
<h4 class="rank-math-step-title ">Create a new flow with trigger &#8216;Manually trigger a flow&#8217;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1788" height="1140" src="https://zeitgeistcode.com/wp-content/uploads/2023/08/power-automate-sort-function-create-flow.png" class="attachment-full size-full" alt="power automate sort function create flow" title="Power Automate Sort Function Explained 7"><p>New flow</p>
</div>
</li>
<li id="howto-step-1675270171265" class="rank-math-step">
<h4 class="rank-math-step-title ">Add a new step by clicking on &#x2018;+ New step&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1264" height="332" src="https://zeitgeistcode.com/wp-content/uploads/2023/08/power-automate-sort-function-next-step.png" class="attachment-full size-full" alt="power automate sort function next step" title="Power Automate Sort Function Explained 8"><p>Add a new step</p>
</div>
</li><!-- Ezoic - wp_long_content - long_content --><div id="ezoic-pub-ad-placeholder-113"  data-inserter-version="2"></div><!-- End Ezoic - wp_long_content - long_content -->
<li id="howto-step-1675270183369" class="rank-math-step">
<h4 class="rank-math-step-title ">Search for &#x2018;initialize&#x2019; and click on &#x2018;Initialize variable&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1218" height="940" src="https://zeitgeistcode.com/wp-content/uploads/2023/08/power-automate-sort-function-initialize-variable.png" class="attachment-full size-full" alt="power automate sort function initialize variable" title="Power Automate Sort Function Explained 9"><p>Add Initialize variable action</p>
</div>
</li>
<li id="howto-step-1675270196699" class="rank-math-step">
<h4 class="rank-math-step-title ">Setup Initialize variable: 1) Provide a name, 2) select type Array, 3) Set value to &#x2018;[&#8220;orange&#8221;,&#8221;apple&#8221;,&#8221;melon&#8221;]&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1230" height="376" src="https://zeitgeistcode.com/wp-content/uploads/2023/08/power-automate-sort-function-initialize-variable-setup.png" class="attachment-full size-full" alt="power automate sort function initialize variable setup" title="Power Automate Sort Function Explained 10"><p>Setup variable</p>
</div>
</li>
<li id="howto-step-1675270209867" class="rank-math-step">
<h4 class="rank-math-step-title ">Add a compose step by searching for &#x2018;compose&#x2019; and clicking on &#x2018;Compose&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1232" height="820" src="https://zeitgeistcode.com/wp-content/uploads/2023/08/power-automate-sort-function-add-compose-step.png" class="attachment-full size-full" alt="power automate sort function add compose step" title="Power Automate Sort Function Explained 11"><p>Add Compose action</p>
</div>
</li><!-- Ezoic - wp_longer_content - longer_content --><div id="ezoic-pub-ad-placeholder-114"  data-inserter-version="2"></div><!-- End Ezoic - wp_longer_content - longer_content -->
<li id="howto-step-1675270277937" class="rank-math-step">
<h4 class="rank-math-step-title ">Setup compose action: 1) click into Inputs (popup appears), 2) click on &#x2018;Expression&#x2019;, 3) set expression to &#x2018;sort(variables(&#x2018;fruits&#x2019;), 3)&#x2019; 4) click on &#x2018;OK&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1720" height="650" src="https://zeitgeistcode.com/wp-content/uploads/2023/08/power-automate-expression.png" class="attachment-full size-full" alt="power automate" title="Power Automate Sort Function Explained 12"><p>Setup sort expression in Power Automate</p>
</div>
</li>
<li id="howto-step-1675270292018" class="rank-math-step">
<h4 class="rank-math-step-title ">Save and do a test run</h4>
<div class="rank-math-step-content "><img decoding="async" width="1224" height="1250" src="https://zeitgeistcode.com/wp-content/uploads/2023/08/power-automate-sort-function-test-run.png" class="attachment-full size-full" alt="power automate sort function test run" title="Power Automate Sort Function Explained 13"><p>Result test run &#x2013; Power Automate sort function example</p>
</div>
</li>
</ol>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://zeitgeistcode.com/power-automate-sort-function/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Power Automate Chunk Function Explained</title>
		<link>https://zeitgeistcode.com/power-automate-chunk-function/</link>
					<comments>https://zeitgeistcode.com/power-automate-chunk-function/#respond</comments>
		
		<dc:creator><![CDATA[Johannes]]></dc:creator>
		<pubDate>Tue, 07 Feb 2023 14:53:44 +0000</pubDate>
				<category><![CDATA[Power Automate]]></category>
		<guid isPermaLink="false">https://zeitgeistcode.com/?p=4624</guid>

					<description><![CDATA[The Power Automate Chunk function allows you to break down a string or array into smaller pieces of equal size. In this article, I&#x2019;ll introduce you to the chunk function and will provide a step-by-step guide on how to use the function in a Microsoft flow. Power Automate Chunk Function Divide a string or array [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>The Power Automate Chunk function allows you to break down a string or array into smaller pieces of equal size.
</p><!-- Ezoic - wp_under_page_title - under_page_title --><div id="ezoic-pub-ad-placeholder-102"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_page_title - under_page_title -->



<p>In this article, I&#x2019;ll introduce you to the chunk function and will provide a step-by-step guide on how to use the function in a Microsoft flow.</p>


				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1 uagb-toc__collapse uagb-block-a0f7b31d      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							Power Automate Chunk Function													<svg xmlns="https://www.w3.org/2000/svg" viewBox= "0 0 384 512"><path d="M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"></path></svg>
																			</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#power-automate-chunk-function" class="uagb-toc-link__trigger">Power Automate Chunk Function</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#syntax" class="uagb-toc-link__trigger">Syntax</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#power-automate-chunk-expression-example" class="uagb-toc-link__trigger">Power Automate Chunk Expression Example</a></li></ul></li><!-- Ezoic - wp_under_first_paragraph - under_first_paragraph --><div id="ezoic-pub-ad-placeholder-110"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_first_paragraph - under_first_paragraph --><li class="uagb-toc__list"><a href="#how-to-use-the-power-automate-chunk-function" class="uagb-toc-link__trigger">How To Use The Power Automate Chunk Function</a></ul></ol>					</div>
									</div>
				</div>
			


<h2 class="pa-function-h wp-block-heading">Power Automate Chunk Function</h2>



<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="696" height="446" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Chunk-expression-example.png" alt="Power Automate Chunk expression" class="wp-image-4674" title="Power Automate Chunk Function Explained 14" srcset="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Chunk-expression-example.png 696w, https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Chunk-expression-example-300x192.png 300w" sizes="(max-width: 696px) 100vw, 696px" /><figcaption class="wp-element-caption">chunk expression in Power Automate</figcaption></figure>



<p>Divide a string or array into equal-sized segments. 
</p>



<h3 class="wp-block-heading">Syntax</h3>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">chunk(&#039;&lt;collection&gt;&#039;, &#039;&lt;length&gt;&#039;)
chunk([&lt;collection&gt;], &#039;&lt;length&gt;&#039;)</code></pre>



<h4 class="wp-block-heading">Input parameters</h4>



<ul class="wp-block-list">
<li><strong>collection (mandatory)</strong>: The collection or string to be divided into chunks.</li>



<li><strong>length (mandatory)</strong>: The size of the resulting chunks.</li>
</ul>



<h4 class="wp-block-heading">Return value</h4>



<ul class="wp-block-list">
<li><strong>Returns an array with the chunks in the defined size.</strong></li>
</ul>



<h3 class="wp-block-heading">Power Automate Chunk Expression Example</h3>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">// chunk expression string example
chunk(&#039;aaabbbcc&#039;, 3)
=&gt;
[
  &#039;aaa&#039;,
  &#039;bbb&#039;,
  &#039;cc&#039;
]

// chunk expression collection example
chunk([1,1,1,2,2,2,3], 3)
=&gt;
[
  [1,1,1],
  [2,2,2],
  [3]
]

// chunk expression referencing a variable
chunk(variables(&#x2018;text&#x2019;), 3)</code></pre>



<h2 class="has-text-align-center wp-block-heading">How To Use The Power Automate Chunk Function</h2>


<div id="rank-math-howto" class="rank-math-block" style="text-align:center">
<div class="rank-math-howto-description">

<p>Follow the steps to use the Power Automate Chunk function in a flow.</p><!-- Ezoic - wp_under_second_paragraph - under_second_paragraph --><div id="ezoic-pub-ad-placeholder-111"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_second_paragraph - under_second_paragraph -->

</div>

<ol class="rank-math-steps ">
<li id="howto-step-1660547086662" class="rank-math-step">
<h4 class="rank-math-step-title ">Create a new flow with trigger &#8216;Manually trigger a flow&#8217;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1764" height="1124" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Chunk-Function-new-flow.png" class="attachment-full size-full" alt="Power Automate Chunk Function new flow" title="Power Automate Chunk Function Explained 15"><p>New flow</p>
</div>
</li>
<li id="howto-step-1675270171265" class="rank-math-step">
<h4 class="rank-math-step-title ">Add a new step by clicking on &#x2018;+ New step&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1228" height="304" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Chunk-Function-new-step.png" class="attachment-full size-full" alt="Power Automate Chunk Function new step" title="Power Automate Chunk Function Explained 16"><p>Add a new step</p>
</div>
</li>
<li id="howto-step-1675270183369" class="rank-math-step">
<h4 class="rank-math-step-title ">Search for &#x2018;initialize&#x2019; and click on &#x2018;Initialize variable&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1218" height="812" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Chunk-Function-initlalize-variable.png" class="attachment-full size-full" alt="Power Automate Chunk Function initlalize variable" title="Power Automate Chunk Function Explained 17"><p>Add Initialize variable action</p>
</div>
</li><!-- Ezoic - wp_mid_content - mid_content --><div id="ezoic-pub-ad-placeholder-112"  data-inserter-version="2"></div><!-- End Ezoic - wp_mid_content - mid_content -->
<li id="howto-step-1675270196699" class="rank-math-step">
<h4 class="rank-math-step-title ">Setup Initialize variable: 1) Provide a name, 2) select type String, 3) Set value to &#x2018;aaabbbcc&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1220" height="360" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Chunk-Function-setup-initialize-variable.png" class="attachment-full size-full" alt="Power Automate Chunk Function setup initialize variable" title="Power Automate Chunk Function Explained 18"><p>Setup variable</p>
</div>
</li>
<li id="howto-step-1675270209867" class="rank-math-step">
<h4 class="rank-math-step-title ">Add a compose step by searching for &#x2018;compose&#x2019; and clicking on &#x2018;Compose&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1240" height="866" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Chunk-Function-add-compose.png" class="attachment-full size-full" alt="Power Automate Chunk Function add compose" title="Power Automate Chunk Function Explained 19"><p>Add Compose action</p>
</div>
</li>
<li id="howto-step-1675270277937" class="rank-math-step">
<h4 class="rank-math-step-title ">Setup compose action: 1) click into Inputs (popup appears), 2) click on &#x2018;Expression&#x2019;, 3) set expression to &#x2018;chunk(variables(&#x2018;text&#x2019;), 3)&#x2019; 4) click on &#x2018;OK&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1626" height="650" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Chunk-expression.png" class="attachment-full size-full" alt="Power Automate Chunk" title="Power Automate Chunk Function Explained 20"><p>Setup chunk expression in Power Automate</p>
</div>
</li><!-- Ezoic - wp_long_content - long_content --><div id="ezoic-pub-ad-placeholder-113"  data-inserter-version="2"></div><!-- End Ezoic - wp_long_content - long_content -->
<li id="howto-step-1675270292018" class="rank-math-step">
<h4 class="rank-math-step-title ">Save and do a test run</h4>
<div class="rank-math-step-content "><img decoding="async" width="1234" height="1148" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/power-automate-chunk-function-test-run-result.png" class="attachment-full size-full" alt="power automate chunk function test run result" title="Power Automate Chunk Function Explained 21"><p>Result test run &#x2013; Power Automate chunk function example</p>
</div>
</li>
</ol>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://zeitgeistcode.com/power-automate-chunk-function/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Power Automate Reverse Function Explained</title>
		<link>https://zeitgeistcode.com/power-automate-reverse-function/</link>
					<comments>https://zeitgeistcode.com/power-automate-reverse-function/#respond</comments>
		
		<dc:creator><![CDATA[Johannes]]></dc:creator>
		<pubDate>Tue, 07 Feb 2023 11:21:29 +0000</pubDate>
				<category><![CDATA[Power Automate]]></category>
		<guid isPermaLink="false">https://zeitgeistcode.com/?p=4616</guid>

					<description><![CDATA[The Power Automate Reverse function changes the arrangement of elements in a collection by reversing their order. This operation, when combined with the sorting function, can result in the sorting of items in a descending sequence. In this article, I&#x2019;ll introduce you to the reverse function and will provide a step-by-step guide on how to [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>The Power Automate Reverse function changes the arrangement of elements in a collection by reversing their order. This operation, when combined with the sorting function, can result in the sorting of items in a descending sequence.
</p><!-- Ezoic - wp_under_page_title - under_page_title --><div id="ezoic-pub-ad-placeholder-102"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_page_title - under_page_title -->



<p>In this article, I&#x2019;ll introduce you to the reverse function and will provide a step-by-step guide on how to use the function in a Microsoft flow.</p>


				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1 uagb-toc__collapse uagb-block-7f135fbb      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							Power Automate Reverse Function													<svg xmlns="https://www.w3.org/2000/svg" viewBox= "0 0 384 512"><path d="M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"></path></svg>
																			</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#power-automate-reverse-function" class="uagb-toc-link__trigger">Power Automate Reverse Function</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#syntax" class="uagb-toc-link__trigger">Syntax</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#power-automate-reverse-expression-example" class="uagb-toc-link__trigger">Power Automate Reverse Expression Example</a></li></ul></li><!-- Ezoic - wp_under_first_paragraph - under_first_paragraph --><div id="ezoic-pub-ad-placeholder-110"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_first_paragraph - under_first_paragraph --><li class="uagb-toc__list"><a href="#how-to-use-the-power-automate-reverse-function" class="uagb-toc-link__trigger">How To Use The Power Automate Reverse Function</a></ul></ol>					</div>
									</div>
				</div>
			


<h2 class="pa-function-h wp-block-heading">Power Automate Reverse Function</h2>



<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="704" height="446" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Reverse-expression-example.png" alt="Power Automate Reverse expression" class="wp-image-4639" title="Power Automate Reverse Function Explained 22" srcset="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Reverse-expression-example.png 704w, https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Reverse-expression-example-300x190.png 300w" sizes="(max-width: 704px) 100vw, 704px" /><figcaption class="wp-element-caption">reverse expression in Power Automate</figcaption></figure>



<p>Invert the arrangement of elements in a collection. Utilizing this function in combination with sort() enables sorting a collection in descending order.

</p>



<h3 class="wp-block-heading">Syntax</h3>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">reverse([&lt;collection&gt;])</code></pre>



<h4 class="wp-block-heading">Input parameters</h4>



<ul class="wp-block-list">
<li><strong>collection (mandatory)</strong>: The collection to be reversed.</li>
</ul>



<h4 class="wp-block-heading">Return value</h4>



<ul class="wp-block-list">
<li><strong>Returns the given collection in reverse order.</strong></li>
</ul>



<h3 class="wp-block-heading">Power Automate Reverse Expression Example</h3>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">reverse(createArray(1,2,3))
=&gt; [3,2,1]

// reverse expression with variable
reverse(variables(&#039;myCol&#039;))</code></pre>



<h2 class="has-text-align-center wp-block-heading">How To Use The Power Automate Reverse Function</h2>


<div id="rank-math-howto" class="rank-math-block" style="text-align:center">
<div class="rank-math-howto-description">

<p>Follow the steps to use the Power Automate Reverse function in a flow.</p>

</div>

<ol class="rank-math-steps ">
<li id="howto-step-1660547086662" class="rank-math-step">
<h4 class="rank-math-step-title ">Create a new flow with trigger &#8216;Manually trigger a flow&#8217;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1774" height="1118" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Reverse-Function-new-flow.png" class="attachment-full size-full" alt="Power Automate Reverse Function new flow" title="Power Automate Reverse Function Explained 23"><p>New flow</p>
</div>
</li><!-- Ezoic - wp_under_second_paragraph - under_second_paragraph --><div id="ezoic-pub-ad-placeholder-111"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_second_paragraph - under_second_paragraph -->
<li id="howto-step-1675270171265" class="rank-math-step">
<h4 class="rank-math-step-title ">Add a new step by clicking on &#x2018;+ New step&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1220" height="316" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Reverse-Function-new-step.png" class="attachment-full size-full" alt="Power Automate Reverse Function new step" title="Power Automate Reverse Function Explained 24"><p>Add a new step</p>
</div>
</li>
<li id="howto-step-1675270183369" class="rank-math-step">
<h4 class="rank-math-step-title ">Search for &#x2018;initialize&#x2019; and click on &#x2018;Initialize variable&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1212" height="798" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Reverse-Function-add-initialize-variable.png" class="attachment-full size-full" alt="Power Automate Reverse Function add initialize variable" title="Power Automate Reverse Function Explained 25"><p>Add Initialize variable action</p>
</div>
</li>
<li id="howto-step-1675270196699" class="rank-math-step">
<h4 class="rank-math-step-title ">Setup Initialize variable: 1) Provide a name, 2) select type Array, 3) Set value to &#x2018;[1,2,3]&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1210" height="364" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Reverse-Function-setup-initialize-variable.png" class="attachment-full size-full" alt="Power Automate Reverse Function setup initialize variable" title="Power Automate Reverse Function Explained 26"><p>Setup variable</p>
</div>
</li><!-- Ezoic - wp_mid_content - mid_content --><div id="ezoic-pub-ad-placeholder-112"  data-inserter-version="2"></div><!-- End Ezoic - wp_mid_content - mid_content -->
<li id="howto-step-1675270209867" class="rank-math-step">
<h4 class="rank-math-step-title ">Add a compose step by searching for &#x2018;compose&#x2019; and clicking on &#x2018;Compose&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1208" height="858" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Reverse-Function-add-compose.png" class="attachment-full size-full" alt="Power Automate Reverse Function add compose" title="Power Automate Reverse Function Explained 27"><p>Add Compose action</p>
</div>
</li>
<li id="howto-step-1675270277937" class="rank-math-step">
<h4 class="rank-math-step-title ">Setup compose action: 1) click into Inputs (popup appears), 2) click on &#x2018;Expression&#x2019;, 3) set expression to &#x2018;reverse(variables(&#8216;myCol&#8217;))&#x2019; 4) click on &#x2018;OK&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1756" height="660" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Reverse-expression.png" class="attachment-full size-full" alt="Power Automate Reverse" title="Power Automate Reverse Function Explained 28"><p>Setup reverse expression in Power Automate</p>
</div>
</li>
<li id="howto-step-1675270292018" class="rank-math-step">
<h4 class="rank-math-step-title ">Save and do a test run</h4>
<div class="rank-math-step-content "><img decoding="async" width="1208" height="1272" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Reverse-Function-test-run-result.png" class="attachment-full size-full" alt="Power Automate Reverse Function test run result" title="Power Automate Reverse Function Explained 29"><p>Result test run &#x2013; Power Automate reverse function example</p>
</div>
</li><!-- Ezoic - wp_long_content - long_content --><div id="ezoic-pub-ad-placeholder-113"  data-inserter-version="2"></div><!-- End Ezoic - wp_long_content - long_content -->
</ol>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://zeitgeistcode.com/power-automate-reverse-function/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Power Automate Take Function Explained</title>
		<link>https://zeitgeistcode.com/power-automate-take-function/</link>
					<comments>https://zeitgeistcode.com/power-automate-take-function/#respond</comments>
		
		<dc:creator><![CDATA[Johannes]]></dc:creator>
		<pubDate>Tue, 07 Feb 2023 08:48:46 +0000</pubDate>
				<category><![CDATA[Power Automate]]></category>
		<guid isPermaLink="false">https://zeitgeistcode.com/?p=4625</guid>

					<description><![CDATA[The Power Automate Take function allows you to select a specified number of items from the front of a collection. The take function does the opposite of the skip function. In this article, I&#x2019;ll introduce you to the take function and will provide a step-by-step guide on how to use the function in a Microsoft [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>The Power Automate Take function allows you to select a specified number of items from the front of a collection. </p><!-- Ezoic - wp_under_page_title - under_page_title --><div id="ezoic-pub-ad-placeholder-102"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_page_title - under_page_title -->



<p>The take function does the opposite of the <a href="https://zeitgeistcode.com/power-automate-skip-function">skip function</a>.</p>



<p>In this article, I&#x2019;ll introduce you to the take function and will provide a step-by-step guide on how to use the function in a Microsoft flow.</p><!-- Ezoic - wp_under_first_paragraph - under_first_paragraph --><div id="ezoic-pub-ad-placeholder-110"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_first_paragraph - under_first_paragraph -->


				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1 uagb-toc__collapse uagb-block-3de311c5      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							Power Automate Take Function													<svg xmlns="https://www.w3.org/2000/svg" viewBox= "0 0 384 512"><path d="M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"></path></svg>
																			</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#power-automate-take-function" class="uagb-toc-link__trigger">Power Automate Take Function</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#syntax" class="uagb-toc-link__trigger">Syntax</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#power-automate-take-expression-example" class="uagb-toc-link__trigger">Power Automate Take Expression Example</a></li></ul></li><li class="uagb-toc__list"><a href="#how-to-use-the-power-automate-take-function" class="uagb-toc-link__trigger">How To Use The Power Automate Take Function</a></ul></ol>					</div>
									</div>
				</div>
			


<h2 class="pa-function-h wp-block-heading">Power Automate Take Function</h2>



<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="572" height="434" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Take-expression-example.png" alt="Power Automate Take expression" class="wp-image-4660" title="Power Automate Take Function Explained 30" srcset="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Take-expression-example.png 572w, https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Take-expression-example-300x228.png 300w" sizes="(max-width: 572px) 100vw, 572px" /><figcaption class="wp-element-caption">take expression in Power Automate</figcaption></figure>



<p>The Take function in Power Automate enables the extraction of a custom quantity of elements from the start of a collection.
</p>



<h3 class="wp-block-heading">Syntax</h3>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">take(&#039;&lt;collection&gt;&#039;, &lt;count&gt;)
take([&lt;collection&gt;], &lt;count&gt;)</code></pre>



<h4 class="wp-block-heading">Input parameters</h4>



<ul class="wp-block-list">
<li><strong>collection (mandatory)</strong>: The collection that you want to retrieve items from the beginning.</li><!-- Ezoic - wp_under_second_paragraph - under_second_paragraph --><div id="ezoic-pub-ad-placeholder-111"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_second_paragraph - under_second_paragraph -->



<li><strong>count (mandatory)</strong>: The number of items that should be retrieved from the beginning of the collection.</li>
</ul>



<h4 class="wp-block-heading">Return value</h4>



<ul class="wp-block-list">
<li><strong>A string or array consisting of a specified number of elements taken from the beginning of the original collection.</strong></li>
</ul>



<h3 class="wp-block-heading">Power Automate Take Expression Example</h3>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">// take the first two elements
skip(createArray(1,2,3,4,5),2)
=&gt; 1,2

// reference a variable in a take expression
skip(variables(&#039;myCol&#039;),2)</code></pre>



<h2 class="has-text-align-center wp-block-heading">How To Use The Power Automate Take Function</h2>


<div id="rank-math-howto" class="rank-math-block" style="text-align:center">
<div class="rank-math-howto-description">

<p>Follow the steps to use the Power Automate Take function in a flow.</p><!-- Ezoic - wp_mid_content - mid_content --><div id="ezoic-pub-ad-placeholder-112"  data-inserter-version="2"></div><!-- End Ezoic - wp_mid_content - mid_content -->

</div>

<ol class="rank-math-steps ">
<li id="howto-step-1660547086662" class="rank-math-step">
<h4 class="rank-math-step-title ">Create a new flow with trigger &#8216;Manually trigger a flow&#8217;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1754" height="1120" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Take-Function-new-flow.png" class="attachment-full size-full" alt="Power Automate Take Function new flow" title="Power Automate Take Function Explained 31"><p>New flow</p>
</div>
</li>
<li id="howto-step-1675270171265" class="rank-math-step">
<h4 class="rank-math-step-title ">Add a new step by clicking on &#x2018;+ New step&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1228" height="338" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Take-Function-new-step-1.png" class="attachment-full size-full" alt="Power Automate Take Function new step 1" title="Power Automate Take Function Explained 32"><p>Add a new step</p>
</div>
</li>
<li id="howto-step-1675270183369" class="rank-math-step">
<h4 class="rank-math-step-title ">Search for &#x2018;initialize&#x2019; and click on &#x2018;Initialize variable&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1232" height="824" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Take-Function-initialize-variable.png" class="attachment-full size-full" alt="Power Automate Take Function initialize variable" title="Power Automate Take Function Explained 33"><p>Add Initialize variable action</p>
</div>
</li><!-- Ezoic - wp_long_content - long_content --><div id="ezoic-pub-ad-placeholder-113"  data-inserter-version="2"></div><!-- End Ezoic - wp_long_content - long_content -->
<li id="howto-step-1675270196699" class="rank-math-step">
<h4 class="rank-math-step-title ">Setup Initialize variable: 1) Provide a name, 2) select type Array, 3) Set value to &#x2018;[1,2,3,4,5]&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1218" height="366" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Take-Function-setup-initlialize-variable-.png" class="attachment-full size-full" alt="Power Automate Take Function setup initlialize variable" title="Power Automate Take Function Explained 34"><p>Setup variable</p>
</div>
</li>
<li id="howto-step-1675270209867" class="rank-math-step">
<h4 class="rank-math-step-title ">Add a compose step by searching for &#x2018;compose&#x2019; and clicking on &#x2018;Compose&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1220" height="868" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Take-Function-add-compose-step.png" class="attachment-full size-full" alt="Power Automate Take Function add compose step" title="Power Automate Take Function Explained 35"><p>Add Compose action</p>
</div>
</li>
<li id="howto-step-1675270277937" class="rank-math-step">
<h4 class="rank-math-step-title ">Setup compose action: 1) click into Inputs (popup appears), 2) click on &#x2018;Expression&#x2019;, 3) set expression to &#x2018;take(variables(&#8216;myCol&#8217;),2)&#x2019; 4) click on &#x2018;OK&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1714" height="668" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Take-expression.png" class="attachment-full size-full" alt="Power Automate Take" title="Power Automate Take Function Explained 36"><p>Setup take expression in Power Automate</p>
</div>
</li><!-- Ezoic - wp_longer_content - longer_content --><div id="ezoic-pub-ad-placeholder-114"  data-inserter-version="2"></div><!-- End Ezoic - wp_longer_content - longer_content -->
<li id="howto-step-1675270292018" class="rank-math-step">
<h4 class="rank-math-step-title ">Save and do a test run</h4>
<div class="rank-math-step-content "><img decoding="async" width="1246" height="1306" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Take-Function-test-run-result.png" class="attachment-full size-full" alt="Power Automate Take Function test run result" title="Power Automate Take Function Explained 37"><p>Result test run &#x2013; Power Automate take function example</p>
</div>
</li>
</ol>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://zeitgeistcode.com/power-automate-take-function/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Power Automate Skip Function Explained</title>
		<link>https://zeitgeistcode.com/power-automate-skip-function/</link>
					<comments>https://zeitgeistcode.com/power-automate-skip-function/#respond</comments>
		
		<dc:creator><![CDATA[Johannes]]></dc:creator>
		<pubDate>Tue, 07 Feb 2023 08:01:33 +0000</pubDate>
				<category><![CDATA[Power Automate]]></category>
		<guid isPermaLink="false">https://zeitgeistcode.com/?p=4619</guid>

					<description><![CDATA[The Power Automate Skip function trims a specified quantity of items from the beginning of a collection and returns the remaining items. The skip function does the opposite of the take function. In this article, I&#x2019;ll introduce you to the skip function and will provide a step-by-step guide on how to use the function in [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>The Power Automate  Skip function trims a specified quantity of items from the beginning of a collection and returns the remaining items.</p><!-- Ezoic - wp_under_page_title - under_page_title --><div id="ezoic-pub-ad-placeholder-102"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_page_title - under_page_title -->



<p>The skip function does the opposite of the <a href="https://zeitgeistcode.com/power-automate-take-function">take function</a>. </p>



<p>In this article, I&#x2019;ll introduce you to the skip function and will provide a step-by-step guide on how to use the function in a Microsoft flow.</p><!-- Ezoic - wp_under_first_paragraph - under_first_paragraph --><div id="ezoic-pub-ad-placeholder-110"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_first_paragraph - under_first_paragraph -->


				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1 uagb-toc__collapse uagb-block-ea677408      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							Power Automate Skip Function													<svg xmlns="https://www.w3.org/2000/svg" viewBox= "0 0 384 512"><path d="M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"></path></svg>
																			</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#power-automate-skip-function" class="uagb-toc-link__trigger">Power Automate Skip Function</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#syntax" class="uagb-toc-link__trigger">Syntax</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#power-automate-skip-expression-example" class="uagb-toc-link__trigger">Power Automate Skip Expression Example</a></li></ul></li><li class="uagb-toc__list"><a href="#how-to-use-the-power-automate-skip-function" class="uagb-toc-link__trigger">How To Use The Power Automate Skip Function</a></ul></ol>					</div>
									</div>
				</div>
			


<h2 class="pa-function-h wp-block-heading">Power Automate Skip Function</h2>



<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="710" height="440" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Skip-expression-example.png" alt="Power Automate Skip expression" class="wp-image-4648" title="Power Automate Skip Function Explained 38" srcset="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Skip-expression-example.png 710w, https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Skip-expression-example-300x186.png 300w" sizes="(max-width: 710px) 100vw, 710px" /><figcaption class="wp-element-caption">skip expression in Power Automate</figcaption></figure>



<p>The Power Automate Skip function returns a modified collection by removing a specified number of elements from the start and returning the remaining elements.
</p>



<h3 class="wp-block-heading">Syntax</h3>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">skip([&lt;collection&gt;], &lt;count&gt;)</code></pre>



<h4 class="wp-block-heading">Input parameters</h4>



<ul class="wp-block-list">
<li><strong>collection (mandatory)</strong>: The collection that you want to remove items from the beginning.</li><!-- Ezoic - wp_under_second_paragraph - under_second_paragraph --><div id="ezoic-pub-ad-placeholder-111"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_second_paragraph - under_second_paragraph -->



<li><strong>count (mandatory)</strong>: The number of items that should be removed from the beginning of the collection..</li>
</ul>



<h4 class="wp-block-heading">Return value</h4>



<ul class="wp-block-list">
<li><strong>Returns the given collection without the removed items at the beginning of the collection.</strong></li>
</ul>



<h3 class="wp-block-heading">Power Automate Skip Expression Example</h3>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">// skip the first two elements
skip(createArray(1,2,3,4,5),2)
=&gt; 3,4,5

// reference a variable in a skip expression
skip(variables(&#039;myCol&#039;),2)</code></pre>



<h2 class="has-text-align-center wp-block-heading">How To Use The Power Automate Skip Function</h2>


<div id="rank-math-howto" class="rank-math-block" style="text-align:center">
<div class="rank-math-howto-description">

<p>Follow the steps to use the Power Automate Skip function in a flow.</p><!-- Ezoic - wp_mid_content - mid_content --><div id="ezoic-pub-ad-placeholder-112"  data-inserter-version="2"></div><!-- End Ezoic - wp_mid_content - mid_content -->

</div>

<ol class="rank-math-steps ">
<li id="howto-step-1660547086662" class="rank-math-step">
<h4 class="rank-math-step-title ">Create a new flow with trigger &#8216;Manually trigger a flow&#8217;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1770" height="1126" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Skip-Function-new-flow.png" class="attachment-full size-full" alt="Power Automate Skip Function new flow" title="Power Automate Skip Function Explained 39"><p>New flow</p>
</div>
</li>
<li id="howto-step-1675270171265" class="rank-math-step">
<h4 class="rank-math-step-title ">Add a new step by clicking on &#x2018;+ New step&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1220" height="320" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Skip-Function-new-step.png" class="attachment-full size-full" alt="Power Automate Skip Function new step" title="Power Automate Skip Function Explained 40"><p>Add a new step</p>
</div>
</li>
<li id="howto-step-1675270183369" class="rank-math-step">
<h4 class="rank-math-step-title ">Search for &#x2018;initialize&#x2019; and click on &#x2018;Initialize variable&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1210" height="832" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Skip-Function-initialize-variable.png" class="attachment-full size-full" alt="Power Automate Skip Function initialize variable" title="Power Automate Skip Function Explained 41"><p>Add Initialize variable action</p>
</div>
</li><!-- Ezoic - wp_long_content - long_content --><div id="ezoic-pub-ad-placeholder-113"  data-inserter-version="2"></div><!-- End Ezoic - wp_long_content - long_content -->
<li id="howto-step-1675270196699" class="rank-math-step">
<h4 class="rank-math-step-title ">Setup Initialize variable: 1) Provide a name, 2) select type Array, 3) Set value to &#x2018;[1,2,3,4,5]&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1208" height="360" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Skip-Function-setup-initialize-variable.png" class="attachment-full size-full" alt="Power Automate Skip Function setup initialize variable" title="Power Automate Skip Function Explained 42"><p>Setup variable</p>
</div>
</li>
<li id="howto-step-1675270209867" class="rank-math-step">
<h4 class="rank-math-step-title ">Add a compose step by searching for &#x2018;compose&#x2019; and clicking on &#x2018;Compose&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1212" height="856" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Skip-Function-add-compose.png" class="attachment-full size-full" alt="Power Automate Skip Function add compose" title="Power Automate Skip Function Explained 43"><p>Add Compose action</p>
</div>
</li>
<li id="howto-step-1675270277937" class="rank-math-step">
<h4 class="rank-math-step-title ">Setup compose action: 1) click into Inputs (popup appears), 2) click on &#x2018;Expression&#x2019;, 3) set expression to &#x2018;skip(variables(&#8216;myCol&#8217;),2)&#x2019; 4) click on &#x2018;OK&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1708" height="630" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Skip-expression.png" class="attachment-full size-full" alt="Power Automate Skip" title="Power Automate Skip Function Explained 44"><p>Setup skip expression in Power Automate</p>
</div>
</li><!-- Ezoic - wp_longer_content - longer_content --><div id="ezoic-pub-ad-placeholder-114"  data-inserter-version="2"></div><!-- End Ezoic - wp_longer_content - longer_content -->
<li id="howto-step-1675270292018" class="rank-math-step">
<h4 class="rank-math-step-title ">Save and do a test run</h4>
<div class="rank-math-step-content "><img decoding="async" width="1240" height="1288" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Skip-Function-result-test-run.png" class="attachment-full size-full" alt="Power Automate Skip Function result test run" title="Power Automate Skip Function Explained 45"><p>Result test run &#x2013; Power Automate skip function example</p>
</div>
</li>
</ol>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://zeitgeistcode.com/power-automate-skip-function/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Power Automate Variables Function Explained</title>
		<link>https://zeitgeistcode.com/power-automate-variables-function/</link>
					<comments>https://zeitgeistcode.com/power-automate-variables-function/#respond</comments>
		
		<dc:creator><![CDATA[Johannes]]></dc:creator>
		<pubDate>Sun, 05 Feb 2023 18:29:52 +0000</pubDate>
				<category><![CDATA[Power Automate]]></category>
		<guid isPermaLink="false">https://zeitgeistcode.com/?p=4603</guid>

					<description><![CDATA[The Power Automate Variables function returns the value of the given variable that is passed to the function by its variable name. In this article, I&#x2019;ll introduce you to the variables function and will provide a step-by-step guide on how to use the function in a Microsoft flow. Power Automate Variables Function Return the value [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>The Power Automate Variables function returns the value of the given variable that is passed to the function by its variable name.</p><!-- Ezoic - wp_under_page_title - under_page_title --><div id="ezoic-pub-ad-placeholder-102"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_page_title - under_page_title -->



<p>In this article, I&#x2019;ll introduce you to the variables function and will provide a step-by-step guide on how to use the function in a Microsoft flow.</p>


				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1 uagb-toc__collapse uagb-block-531dcb8f      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							Power Automate Variables Function													<svg xmlns="https://www.w3.org/2000/svg" viewBox= "0 0 384 512"><path d="M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"></path></svg>
																			</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#power-automate-variables-function" class="uagb-toc-link__trigger">Power Automate Variables Function</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#syntax" class="uagb-toc-link__trigger">Syntax</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#power-automate-variables-expression-example" class="uagb-toc-link__trigger">Power Automate Variables Expression Example</a></li></ul></li><!-- Ezoic - wp_under_first_paragraph - under_first_paragraph --><div id="ezoic-pub-ad-placeholder-110"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_first_paragraph - under_first_paragraph --><li class="uagb-toc__list"><a href="#how-to-use-the-power-automate-variables-function" class="uagb-toc-link__trigger">How To Use The Power Automate Variables Function</a></ul></ol>					</div>
									</div>
				</div>
			


<h2 class="pa-function-h wp-block-heading">Power Automate Variables Function</h2>



<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="676" height="432" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/power-automate-variables-expression-example.png" alt="power automate variables expression" class="wp-image-4606" title="Power Automate Variables Function Explained 46" srcset="https://zeitgeistcode.com/wp-content/uploads/2023/02/power-automate-variables-expression-example.png 676w, https://zeitgeistcode.com/wp-content/uploads/2023/02/power-automate-variables-expression-example-300x192.png 300w" sizes="(max-width: 676px) 100vw, 676px" /><figcaption class="wp-element-caption">variables expression in Power Automate</figcaption></figure>



<p>Return the value of a variable by providing its name as input parameter.
</p>



<h3 class="wp-block-heading">Syntax</h3>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">variables(&#039;&lt;variableName&gt;&#039;)</code></pre>



<h4 class="wp-block-heading">Input parameters</h4>



<ul class="wp-block-list">
<li><strong>variableName (mandatory)</strong>: 	The variable name of the variable whose value should be returned.</li>
</ul>



<h4 class="wp-block-heading">Return value</h4>



<ul class="wp-block-list">
<li><strong>Returns the value of the given variable.</strong></li>
</ul>



<h3 class="wp-block-heading">Power Automate Variables Expression Example</h3>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">variables(&#039;myVar&#039;) // if myVar = &#039;John&#039;
=&gt; &#039;John&#039;</code></pre>



<h2 class="has-text-align-center wp-block-heading">How To Use The Power Automate Variables Function</h2>


<div id="rank-math-howto" class="rank-math-block" style="text-align:center">
<div class="rank-math-howto-description">

<p>Follow the steps to use the Power Automate Variables function in a flow.</p><!-- Ezoic - wp_under_second_paragraph - under_second_paragraph --><div id="ezoic-pub-ad-placeholder-111"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_second_paragraph - under_second_paragraph -->

</div>

<ol class="rank-math-steps ">
<li id="howto-step-1660547086662" class="rank-math-step">
<h4 class="rank-math-step-title ">Create a new flow with trigger &#8216;Manually trigger a flow&#8217;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1778" height="1124" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Variables-Function-new-flow.png" class="attachment-full size-full" alt="Power Automate Variables Function new flow" title="Power Automate Variables Function Explained 47"><p>New flow</p>
</div>
</li>
<li id="howto-step-1675270171265" class="rank-math-step">
<h4 class="rank-math-step-title ">Add a new step by clicking on &#x2018;+ New step&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1218" height="302" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Variables-Function-new-step.png" class="attachment-full size-full" alt="Power Automate Variables Function new step" title="Power Automate Variables Function Explained 48"><p>Add a new step</p>
</div>
</li>
<li id="howto-step-1675270183369" class="rank-math-step">
<h4 class="rank-math-step-title ">Search for &#x2018;initialize&#x2019; and click on &#x2018;Initialize variable&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1216" height="832" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Variables-Function-initialize-variable.png" class="attachment-full size-full" alt="Power Automate Variables Function initialize variable" title="Power Automate Variables Function Explained 49"><p>Add Initialize variable action</p>
</div>
</li><!-- Ezoic - wp_mid_content - mid_content --><div id="ezoic-pub-ad-placeholder-112"  data-inserter-version="2"></div><!-- End Ezoic - wp_mid_content - mid_content -->
<li id="howto-step-1675270196699" class="rank-math-step">
<h4 class="rank-math-step-title ">Setup Initialize variable: 1) Provide a name, 2) select type String, 3) Set value to &#x2018;Hello!&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1216" height="376" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Variables-Function-setup-variable.png" class="attachment-full size-full" alt="Power Automate Variables Function setup variable" title="Power Automate Variables Function Explained 50"><p>Setup variable</p>
</div>
</li>
<li id="howto-step-1675270209867" class="rank-math-step">
<h4 class="rank-math-step-title ">Add a compose step by searching for &#x2018;compose&#x2019; and clicking on &#x2018;Compose&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1212" height="802" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Variables-Function-add-compose-step.png" class="attachment-full size-full" alt="Power Automate Variables Function add compose step" title="Power Automate Variables Function Explained 51"><p>Add Compose action</p>
</div>
</li>
<li id="howto-step-1675270277937" class="rank-math-step">
<h4 class="rank-math-step-title ">Setup compose action: 1) click into Inputs (popup appears), 2) click on &#x2018;Expression&#x2019;, 3) set expression to &#x2018;variables(&#x2018;myVar&#x2019;)&#x2019; 4) click on &#x2018;OK&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1212" height="802" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Variables-Function-add-compose-step-1.png" class="attachment-full size-full" alt="Power Automate Variables Function add compose step 1" title="Power Automate Variables Function Explained 52"><p>Setup variables expression in Power Automate</p>
</div>
</li><!-- Ezoic - wp_long_content - long_content --><div id="ezoic-pub-ad-placeholder-113"  data-inserter-version="2"></div><!-- End Ezoic - wp_long_content - long_content -->
<li id="howto-step-1675270292018" class="rank-math-step">
<h4 class="rank-math-step-title ">Save and do a test run</h4>
<div class="rank-math-step-content "><img decoding="async" width="1658" height="628" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Variables-expression.png" class="attachment-full size-full" alt="Power Automate Variables" title="Power Automate Variables Function Explained 53"><p>Result test run &#x2013; Power Automate variables function example</p>
</div>
</li>
</ol>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://zeitgeistcode.com/power-automate-variables-function/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Power Automate LastIndexOf Function Explained</title>
		<link>https://zeitgeistcode.com/power-automate-lastindexof-function/</link>
					<comments>https://zeitgeistcode.com/power-automate-lastindexof-function/#respond</comments>
		
		<dc:creator><![CDATA[Johannes]]></dc:creator>
		<pubDate>Sun, 05 Feb 2023 15:15:57 +0000</pubDate>
				<category><![CDATA[Power Automate]]></category>
		<guid isPermaLink="false">https://zeitgeistcode.com/?p=4589</guid>

					<description><![CDATA[The Power Automate LastIndexOf function returns the index of the last occurrence of a substring, starting from 0, with a case-insensitive search. In this article, I&#x2019;ll introduce you to the lastIndexOf function and will provide a step-by-step guide on how to use the function in a Microsoft flow. Power Automate LastIndexOf Function The function returns [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>The Power Automate LastIndexOf function returns the index of the last occurrence of a substring, starting from 0, with a case-insensitive search.</p><!-- Ezoic - wp_under_page_title - under_page_title --><div id="ezoic-pub-ad-placeholder-102"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_page_title - under_page_title -->



<p>In this article, I&#x2019;ll introduce you to the lastIndexOf function and will provide a step-by-step guide on how to use the function in a Microsoft flow.</p>


				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1 uagb-toc__collapse uagb-block-f64b4503      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							Power Automate LastIndexOf Function													<svg xmlns="https://www.w3.org/2000/svg" viewBox= "0 0 384 512"><path d="M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"></path></svg>
																			</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#power-automate-lastindexof-function" class="uagb-toc-link__trigger">Power Automate LastIndexOf Function</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#syntax" class="uagb-toc-link__trigger">Syntax</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#power-automate-lastindexof-expression-example" class="uagb-toc-link__trigger">Power Automate LastIndexOf Expression Example</a></li></ul></li><!-- Ezoic - wp_under_first_paragraph - under_first_paragraph --><div id="ezoic-pub-ad-placeholder-110"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_first_paragraph - under_first_paragraph --><li class="uagb-toc__list"><a href="#how-to-use-the-power-automate-lastindexof-function" class="uagb-toc-link__trigger">How To Use The Power Automate LastIndexOf Function</a></ul></ol>					</div>
									</div>
				</div>
			


<h2 class="pa-function-h wp-block-heading">Power Automate LastIndexOf Function</h2>



<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="704" height="460" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-LastIndexOf-expression-example.png" alt="Power Automate LastIndexOf expression" class="wp-image-4593" title="Power Automate LastIndexOf Function Explained 54" srcset="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-LastIndexOf-expression-example.png 704w, https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-LastIndexOf-expression-example-300x196.png 300w" sizes="(max-width: 704px) 100vw, 704px" /></figure>



<p>The function returns the index value of the last occurrence of a substring, starting from 0. The search is not case-sensitive.
</p>



<h3 class="wp-block-heading">Syntax</h3>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">lastIndexOf(&#039;&lt;text&gt;&#039;, &#039;&lt;searchText&gt;&#039;)</code></pre>



<h4 class="wp-block-heading">Input parameters</h4>



<ul class="wp-block-list">
<li><strong>text (mandatory)</strong>: The string within the search string should be found.</li>



<li><strong>searchText (mandatory)</strong>: The search string that should be found in the given text.</li><!-- Ezoic - wp_under_second_paragraph - under_second_paragraph --><div id="ezoic-pub-ad-placeholder-111"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_second_paragraph - under_second_paragraph -->
</ul>



<h4 class="wp-block-heading">Return value</h4>



<ul class="wp-block-list">
<li>If the searched string is found: <strong>Returns the index value for the last occurrence of a given substring, starting from its initial position.</strong></li>



<li>If the searched string is NOT found: <strong>Returns -1.</strong></li>



<li>If the searched string and text are empty: <strong>Returns 0.</strong></li>
</ul>



<h3 class="wp-block-heading">Power Automate LastIndexOf Expression Example</h3>



<p>Let&#8217;s take a look at a lastIndexOf usage example. We want to find out, at which index the &#8216;you&#8217; within &#8216;Where are you?&#8217; starts.</p><!-- Ezoic - wp_mid_content - mid_content --><div id="ezoic-pub-ad-placeholder-112"  data-inserter-version="2"></div><!-- End Ezoic - wp_mid_content - mid_content -->



<p>The example lastIndexOf expression would look like this:</p>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">lastIndexOf(&#039;Where are you?&#039;,&#039;You&#039;)
=&gt; 10</code></pre>



<p>To get a better understanding, why the result is ten, take a look at the following table. The first line is every character in the text. The second line is the index for each character starting at 0. You see that the &#8216;y&#8217; of &#8216;you&#8217; starts at 10.</p>



<figure class="wp-block-table"><table><tbody><tr><td class="has-text-align-center" data-align="center">W</td><td class="has-text-align-center" data-align="center">h</td><td class="has-text-align-center" data-align="center">e</td><td class="has-text-align-center" data-align="center">r</td><td class="has-text-align-center" data-align="center">e</td><td class="has-text-align-center" data-align="center"></td><td class="has-text-align-center" data-align="center">a</td><td class="has-text-align-center" data-align="center">r</td><td class="has-text-align-center" data-align="center">e</td><td class="has-text-align-center" data-align="center"></td><td class="has-text-align-center" data-align="center"><strong>y</strong></td><td class="has-text-align-center" data-align="center"><strong>o</strong></td><td class="has-text-align-center" data-align="center"><strong>u</strong></td><td class="has-text-align-center" data-align="center">?</td></tr><tr><td class="has-text-align-center" data-align="center">0</td><td class="has-text-align-center" data-align="center">1</td><td class="has-text-align-center" data-align="center">2</td><td class="has-text-align-center" data-align="center">3</td><td class="has-text-align-center" data-align="center">4</td><td class="has-text-align-center" data-align="center">5</td><td class="has-text-align-center" data-align="center">6</td><td class="has-text-align-center" data-align="center">7</td><td class="has-text-align-center" data-align="center">8</td><td class="has-text-align-center" data-align="center">9</td><td class="has-text-align-center" data-align="center"><strong>10</strong></td><td class="has-text-align-center" data-align="center">11</td><td class="has-text-align-center" data-align="center">12</td><td class="has-text-align-center" data-align="center">13</td></tr></tbody></table></figure>



<p>Since you only appears once within the text, it is not a good example for the lastIndexOf function, since <a href="https://zeitgeistcode.com/power-automate-indexof/">indexOf function</a> would work here too.</p>



<p>The following example describes the difference between both functions.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">lastIndexOf(&#039;abc abc&#039;,&#039;abc&#039;)
=&gt; 4

indexOf(&#039;abc abc&#039;,&#039;abc&#039;)
=&gt; 0</code></pre>



<figure class="wp-block-table"><table><tbody><tr><td class="has-text-align-center" data-align="center">a</td><td class="has-text-align-center" data-align="center">b</td><td class="has-text-align-center" data-align="center">c</td><td class="has-text-align-center" data-align="center"></td><td class="has-text-align-center" data-align="center"><strong>a</strong></td><td class="has-text-align-center" data-align="center"><strong>b</strong></td><td class="has-text-align-center" data-align="center"><strong>c</strong></td></tr><tr><td class="has-text-align-center" data-align="center">0</td><td class="has-text-align-center" data-align="center">1</td><td class="has-text-align-center" data-align="center">2</td><td class="has-text-align-center" data-align="center">3</td><td class="has-text-align-center" data-align="center"><strong>4</strong></td><td class="has-text-align-center" data-align="center">5</td><td class="has-text-align-center" data-align="center">6</td></tr></tbody></table></figure>



<h2 class="has-text-align-center wp-block-heading">How To Use The Power Automate LastIndexOf Function</h2>


<div id="rank-math-howto" class="rank-math-block" style="text-align:center">
<div class="rank-math-howto-description">

<p>Follow the steps to use the Power Automate LastIndexOf function in a flow.</p><!-- Ezoic - wp_long_content - long_content --><div id="ezoic-pub-ad-placeholder-113"  data-inserter-version="2"></div><!-- End Ezoic - wp_long_content - long_content -->

</div>

<ol class="rank-math-steps ">
<li id="howto-step-1660547086662" class="rank-math-step">
<h4 class="rank-math-step-title ">Create a new flow with trigger &#8216;Manually trigger a flow&#8217;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1786" height="1118" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-LastIndexOf-new-flow.png" class="attachment-full size-full" alt="Power Automate LastIndexOf new flow" title="Power Automate LastIndexOf Function Explained 55"><p>New flow</p>
</div>
</li>
<li id="howto-step-1675270171265" class="rank-math-step">
<h4 class="rank-math-step-title ">Add a new step by clicking on &#x2018;+ New step&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1208" height="332" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-LastIndexOf-new-step.png" class="attachment-full size-full" alt="Power Automate LastIndexOf new step" title="Power Automate LastIndexOf Function Explained 56"><p>Add a new step</p>
</div>
</li>
<li id="howto-step-1675270183369" class="rank-math-step">
<h4 class="rank-math-step-title ">Search for &#x2018;initialize&#x2019; and click on &#x2018;Initialize variable&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1208" height="874" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-LastIndexOf-initialize-variable.png" class="attachment-full size-full" alt="Power Automate LastIndexOf initialize variable" title="Power Automate LastIndexOf Function Explained 57"><p>Add Initialize variable action</p>
</div>
</li><!-- Ezoic - wp_longer_content - longer_content --><div id="ezoic-pub-ad-placeholder-114"  data-inserter-version="2"></div><!-- End Ezoic - wp_longer_content - longer_content -->
<li id="howto-step-1675270196699" class="rank-math-step">
<h4 class="rank-math-step-title ">Setup Initialize variable: 1) Provide a name, 2) select type String, 3) Set value to &#x2018;Where are you?&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1224" height="374" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-LastIndexOf-setup-initialize-variable.png" class="attachment-full size-full" alt="Power Automate LastIndexOf setup initialize variable" title="Power Automate LastIndexOf Function Explained 58"><p>Setup variable</p>
</div>
</li>
<li id="howto-step-1675270209867" class="rank-math-step">
<h4 class="rank-math-step-title ">Add a compose step by searching for &#x2018;compose&#x2019; and clicking on &#x2018;Compose&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1224" height="832" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-LastIndexOf-add-compose.png" class="attachment-full size-full" alt="Power Automate LastIndexOf add compose" title="Power Automate LastIndexOf Function Explained 59"><p>Add Compose action</p>
</div>
</li>
<li id="howto-step-1675270277937" class="rank-math-step">
<h4 class="rank-math-step-title ">Setup compose action: 1) click into Inputs (popup appears), 2) click on &#x2018;Expression&#x2019;, 3) set expression to &#x2018;lastIndexOf(variables(&#8216;text&#8217;),&#8217;You&#8217;)&#x2019; 4) click on &#x2018;OK&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1812" height="632" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-LastIndexOf-expression.png" class="attachment-full size-full" alt="Power Automate LastIndexOf" title="Power Automate LastIndexOf Function Explained 60"><p>Setup lastIndexOf expression in Power Automate</p>
</div>
</li><!-- Ezoic - wp_longest_content - longest_content --><div id="ezoic-pub-ad-placeholder-115"  data-inserter-version="2"></div><!-- End Ezoic - wp_longest_content - longest_content -->
<li id="howto-step-1675270292018" class="rank-math-step">
<h4 class="rank-math-step-title ">Save and do a test run</h4>
<div class="rank-math-step-content "><img decoding="async" width="1234" height="942" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-LastIndexOf-test-run.png" class="attachment-full size-full" alt="Power Automate LastIndexOf test run" title="Power Automate LastIndexOf Function Explained 61"><p>Result test run &#x2013; Power Automate lastIndexOf function example</p>
</div>
</li>
</ol>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://zeitgeistcode.com/power-automate-lastindexof-function/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Power Automate Intersection Function Explained</title>
		<link>https://zeitgeistcode.com/power-automate-intersection-function/</link>
					<comments>https://zeitgeistcode.com/power-automate-intersection-function/#respond</comments>
		
		<dc:creator><![CDATA[Johannes]]></dc:creator>
		<pubDate>Fri, 03 Feb 2023 10:53:28 +0000</pubDate>
				<category><![CDATA[Power Automate]]></category>
		<guid isPermaLink="false">https://zeitgeistcode.com/?p=4551</guid>

					<description><![CDATA[The Power Automate Intersection function generates a collection containing only items that are present in all the specified collections. The item that appears last with a certain name will be included in the result if it appears in all the collections passed to the function. In case you want to create a collection that merges [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>The Power Automate Intersection function generates a collection containing only items that are present in all the specified collections. The item that appears last with a certain name will be included in the result if it appears in all the collections passed to the function.</p><!-- Ezoic - wp_under_page_title - under_page_title --><div id="ezoic-pub-ad-placeholder-102"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_page_title - under_page_title -->



<p>In case you want to create a collection that merges multiple collections without duplicates, take a look at the <a href="https://zeitgeistcode.com/power-automate-union-function/">Power Automate union function</a>.</p>



<p>In this article, I&#x2019;ll introduce you to the intersection function and will provide a step-by-step guide on how to use the function in a Microsoft flow.</p><!-- Ezoic - wp_under_first_paragraph - under_first_paragraph --><div id="ezoic-pub-ad-placeholder-110"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_first_paragraph - under_first_paragraph -->


				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1 uagb-toc__collapse uagb-block-d75b3baa      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							Power Automate Intersection Function													<svg xmlns="https://www.w3.org/2000/svg" viewBox= "0 0 384 512"><path d="M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"></path></svg>
																			</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#power-automate-intersection-function" class="uagb-toc-link__trigger">Power Automate Intersection Function</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#syntax" class="uagb-toc-link__trigger">Syntax</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#power-automate-intersection-expression-example" class="uagb-toc-link__trigger">Power Automate Intersection Expression Example</a></li></ul></li><li class="uagb-toc__list"><a href="#how-to-use-the-power-automate-intersection-function" class="uagb-toc-link__trigger">How To Use The Power Automate Intersection Function</a></ul></ol>					</div>
									</div>
				</div>
			


<h2 class="pa-function-h wp-block-heading">Power Automate Intersection Function</h2>



<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="734" height="456" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Intersection-expression-example.png" alt="Power Automate Intersection expression" class="wp-image-4555" title="Power Automate Intersection Function Explained 62" srcset="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Intersection-expression-example.png 734w, https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Intersection-expression-example-300x186.png 300w" sizes="(max-width: 734px) 100vw, 734px" /><figcaption class="wp-element-caption">intersection expression in Power Automate</figcaption></figure>



<p>Return a collection of items that are present in all specified collections. The final result only includes items that appear in every collection passed to the function. If duplicates exist, the last occurrence of an item will appear in the result.
</p>



<h3 class="wp-block-heading">Syntax</h3>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">intersection([&lt;collection1&gt;], [&lt;collection2&gt;], ...)
intersection(&#039;&lt;collection1&gt;&#039;, &#039;&lt;collection2&gt;&#039;, ...)</code></pre>



<h4 class="wp-block-heading">Input parameters</h4>



<ul class="wp-block-list">
<li><strong>collection1 (mandatory)</strong>: The first collection which elements should be used to create a new collection with all elements that are in all given collections.</li><!-- Ezoic - wp_under_second_paragraph - under_second_paragraph --><div id="ezoic-pub-ad-placeholder-111"  data-inserter-version="2"></div><!-- End Ezoic - wp_under_second_paragraph - under_second_paragraph -->



<li><strong>collection2 (mandatory)</strong>: The second collection which elements should be used to create a new collection with all elements that are in all given collections.</li>



<li><strong>collection3 ..</strong></li>
</ul>



<h4 class="wp-block-heading">Return value</h4>



<ul class="wp-block-list">
<li><strong>Returns a collection</strong>: Create a collection containing only items that are present in all the specified collections.</li>
</ul>



<h3 class="wp-block-heading">Power Automate Intersection Expression Example</h3>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript">intersection(createArray(1,2),createArray(2,3))
=&gt; [2]</code></pre>



<h2 class="has-text-align-center wp-block-heading">How To Use The Power Automate Intersection Function</h2>


<div id="rank-math-howto" class="rank-math-block" style="text-align:center">
<div class="rank-math-howto-description">

<p>Follow the steps to use the Power Automate Intersection function in a flow.</p><!-- Ezoic - wp_mid_content - mid_content --><div id="ezoic-pub-ad-placeholder-112"  data-inserter-version="2"></div><!-- End Ezoic - wp_mid_content - mid_content -->

</div>

<ol class="rank-math-steps ">
<li id="howto-step-1660547086662" class="rank-math-step">
<h4 class="rank-math-step-title ">Create a new flow with trigger &#8216;Manually trigger a flow&#8217;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1776" height="1128" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Intersection-Function-new-flow.png" class="attachment-full size-full" alt="Power Automate Intersection Function new flow" title="Power Automate Intersection Function Explained 63"><p>New flow</p>
</div>
</li>
<li id="howto-step-1675270171265" class="rank-math-step">
<h4 class="rank-math-step-title ">Add a new step by clicking on &#x2018;+ New step&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1228" height="310" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Intersection-Function-new-step.png" class="attachment-full size-full" alt="Power Automate Intersection Function new step" title="Power Automate Intersection Function Explained 64"><p>Add a new step</p>
</div>
</li>
<li id="howto-step-1675270183369" class="rank-math-step">
<h4 class="rank-math-step-title ">Search for &#x2018;initialize&#x2019; and click on &#x2018;Initialize variable&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1222" height="878" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Intersection-Function-initialize-variable.png" class="attachment-full size-full" alt="Power Automate Intersection Function initialize variable" title="Power Automate Intersection Function Explained 65"><p>Add Initialize variable action</p>
</div>
</li><!-- Ezoic - wp_long_content - long_content --><div id="ezoic-pub-ad-placeholder-113"  data-inserter-version="2"></div><!-- End Ezoic - wp_long_content - long_content -->
<li id="howto-step-1675270196699" class="rank-math-step">
<h4 class="rank-math-step-title ">Setup Initialize variable: 1) Provide a name, 2) select type Array, 3) Set value to &#x2018;[1,2,3]&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1216" height="370" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Intersection-Function-setup-initialize-variable.png" class="attachment-full size-full" alt="Power Automate Intersection Function setup initialize variable" title="Power Automate Intersection Function Explained 66"><p>Setup variable</p>
</div>
</li>
<li id="howto-step-1675270209867" class="rank-math-step">
<h4 class="rank-math-step-title ">Add a compose step by searching for &#x2018;compose&#x2019; and clicking on &#x2018;Compose&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1222" height="838" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Intersection-Function-add-compose.png" class="attachment-full size-full" alt="Power Automate Intersection Function add compose" title="Power Automate Intersection Function Explained 67"><p>Add Compose action</p>
</div>
</li>
<li id="howto-step-1675270277937" class="rank-math-step">
<h4 class="rank-math-step-title ">Setup compose action: 1) click into Inputs (popup appears), 2) click on &#x2018;Expression&#x2019;, 3) set expression to &#x2018;intersection(variables(&#8216;col1&#8217;),createArray(2,3,4))&#x2019; 4) click on &#x2018;OK&#x2019;</h4>
<div class="rank-math-step-content "><img decoding="async" width="1834" height="632" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Intersection-expression.png" class="attachment-full size-full" alt="Power Automate Intersection" title="Power Automate Intersection Function Explained 68"><p>Setup intersection expression in Power Automate</p>
</div>
</li><!-- Ezoic - wp_longer_content - longer_content --><div id="ezoic-pub-ad-placeholder-114"  data-inserter-version="2"></div><!-- End Ezoic - wp_longer_content - longer_content -->
<li id="howto-step-1675270292018" class="rank-math-step">
<h4 class="rank-math-step-title ">Save and do a test run</h4>
<div class="rank-math-step-content "><img decoding="async" width="1226" height="1110" src="https://zeitgeistcode.com/wp-content/uploads/2023/02/Power-Automate-Intersection-Function-result-test-run.png" class="attachment-full size-full" alt="Power Automate Intersection Function result test run" title="Power Automate Intersection Function Explained 69"><p>Result test run &#x2013; Power Automate intersection function example</p>
</div>
</li>
</ol>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://zeitgeistcode.com/power-automate-intersection-function/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
