<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Unique Records in Power Automate on That API Guy</title>
    <link>/tags/unique-records-in-power-automate/</link>
    <description>Recent content in Unique Records in Power Automate on That API Guy</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 04 Apr 2020 21:01:10 +0000</lastBuildDate>
    <atom:link href="/tags/unique-records-in-power-automate/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Get Distinct Records using the union expression in Power Automate</title>
      <link>/posts/get-distinct-records-using-the-union-expression-in-power-automate/</link>
      <pubDate>Sat, 04 Apr 2020 21:01:10 +0000</pubDate>
      <guid>/posts/get-distinct-records-using-the-union-expression-in-power-automate/</guid>
      <description>&lt;p&gt;If you want to find all the distinct records in your data-source like a SharePoint list, there is no &amp;ldquo;Distinct records&amp;rdquo; action or distinct expression that you can use in &lt;a href=&#34;https://flow.microsoft.com&#34;&gt;Power Automate&lt;/a&gt; (earlier called Microsoft Flow) .&lt;/p&gt;
&lt;p&gt;There is a simple way to do it using the &lt;a href=&#34;https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#union&#34;&gt;union expression&lt;/a&gt; . This expression returns all the common items in two arrays. So, if we you use the union expression for an array on itself , it will return basically all the items, but the items that are there multiple times will be returned only once. Voila! You just found out the lookalike of &amp;lsquo;Distinct&amp;rsquo; function in Power Apps.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
