<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Concatenatex with Distinct column values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenatex-with-Distinct-column-values/m-p/89550#M141</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am summarizing data from one table into another. Part of the data in the original table is a column of type text which I generate a comma delimited summary string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Issues =  
    var ft = FILTER(RELATEDTABLE(Data), 
                  [ID] = Data[ID] &amp;amp;&amp;amp; Data[Result] &amp;lt;&amp;gt; "Pass" &amp;amp;&amp;amp; 
                  Not ISBLANK(TRIM(Data[Issue]))) 
    var issuessummary = CONCATENATEX(ft, Data[Issue], ",")
return 
     issuessummary&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;This works perfectly but I realized that the return values can be duplicate, so a result value string for issuessummary could equal "ABC", "DEF", "ABC", "xyz". I would like to remove the duplicate in the return string to represent "ABC", "DEF", "xyz".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is there a way to accomplish that?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Sunil&lt;/P&gt;</description>
    <pubDate>Mon, 14 Nov 2016 21:29:39 GMT</pubDate>
    <dc:creator>loganwol</dc:creator>
    <dc:date>2016-11-14T21:29:39Z</dc:date>
    <item>
      <title>Concatenatex with Distinct column values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenatex-with-Distinct-column-values/m-p/89550#M141</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am summarizing data from one table into another. Part of the data in the original table is a column of type text which I generate a comma delimited summary string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Issues =  
    var ft = FILTER(RELATEDTABLE(Data), 
                  [ID] = Data[ID] &amp;amp;&amp;amp; Data[Result] &amp;lt;&amp;gt; "Pass" &amp;amp;&amp;amp; 
                  Not ISBLANK(TRIM(Data[Issue]))) 
    var issuessummary = CONCATENATEX(ft, Data[Issue], ",")
return 
     issuessummary&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;This works perfectly but I realized that the return values can be duplicate, so a result value string for issuessummary could equal "ABC", "DEF", "ABC", "xyz". I would like to remove the duplicate in the return string to represent "ABC", "DEF", "xyz".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is there a way to accomplish that?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Sunil&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 21:29:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenatex-with-Distinct-column-values/m-p/89550#M141</guid>
      <dc:creator>loganwol</dc:creator>
      <dc:date>2016-11-14T21:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenatex with Distinct column values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenatex-with-Distinct-column-values/m-p/337404#M308</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm looking for the same...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ListProductTypes&amp;nbsp;= CONCATENATEX(Table;Table[ProductType];", ")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can I get only distinct ProductType values?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 12:49:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenatex-with-Distinct-column-values/m-p/337404#M308</guid>
      <dc:creator>bugs84</dc:creator>
      <dc:date>2018-01-12T12:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenatex with Distinct column values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenatex-with-Distinct-column-values/m-p/340244#M309</link>
      <description>&lt;P&gt;Hey There bugs84,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this might help:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ListProductTypes&amp;nbsp;= CALCULATE(CONCATENATEX(VALUES('Table'[ProductType]),'Table'[ProductType],","))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Credit Goes to Data and Analytics with Dustin Ryan:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://sqldusty.com/2016/06/29/5-more-power-bi-tips/" target="_blank"&gt;https://sqldusty.com/2016/06/29/5-more-power-bi-tips/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;According to Dusting Ryan:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cited References:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Dustin, Ryan. &lt;EM&gt;5 More PowerBI Tips.&lt;/EM&gt;&amp;nbsp;&lt;A href="https://sqldusty.com/" rel="home" target="_blank"&gt;Data and Analytics with Dustin Ryan&lt;/A&gt;, 2016. Web. 17 January 2018.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 19:04:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenatex-with-Distinct-column-values/m-p/340244#M309</guid>
      <dc:creator>markdy</dc:creator>
      <dc:date>2018-01-17T19:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenatex with Distinct column values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenatex-with-Distinct-column-values/m-p/459929#M334</link>
      <description>&lt;P&gt;Very good, thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 14:11:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenatex-with-Distinct-column-values/m-p/459929#M334</guid>
      <dc:creator>zapppsr</dc:creator>
      <dc:date>2018-07-11T14:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenatex with Distinct column values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenatex-with-Distinct-column-values/m-p/1172546#M18132</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="51429" data-lia-user-login="markdy" class="lia-mention lia-mention-user"&gt;markdy&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hey There bugs84,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this might help:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ListProductTypes&amp;nbsp;= CALCULATE(CONCATENATEX(VALUES('Table'[ProductType]),'Table'[ProductType],","))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Credit Goes to Data and Analytics with Dustin Ryan:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://sqldusty.com/2016/06/29/5-more-power-bi-tips/" target="_blank" rel="noopener"&gt;https://sqldusty.com/2016/06/29/5-more-power-bi-tips/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;According to Dusting Ryan:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cited References:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Dustin, Ryan. &lt;EM&gt;5 More PowerBI Tips.&lt;/EM&gt;&amp;nbsp;&lt;A href="https://sqldusty.com/" target="_blank" rel="home noopener"&gt;Data and Analytics with Dustin Ryan&lt;/A&gt;, 2016. Web. 17 January 2018.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This does not work in the OP's case&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jun 2020 19:15:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenatex-with-Distinct-column-values/m-p/1172546#M18132</guid>
      <dc:creator>Zyg_D</dc:creator>
      <dc:date>2020-06-21T19:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenatex with Distinct column values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenatex-with-Distinct-column-values/m-p/1332613#M23625</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="51429" data-lia-user-login="markdy" class="lia-mention lia-mention-user"&gt;markdy&lt;/a&gt;&amp;nbsp;, this solution works for me!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2020 16:59:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenatex-with-Distinct-column-values/m-p/1332613#M23625</guid>
      <dc:creator>EduSurveys</dc:creator>
      <dc:date>2020-08-28T16:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenatex with Distinct column values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenatex-with-Distinct-column-values/m-p/3997913#M155488</link>
      <description>&lt;P&gt;Unfortunately, it does not work for me; I use the following code, and works perfectly.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CONCATENATEX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN&gt;(Table[The Column]&lt;/SPAN&gt;&lt;SPAN&gt;),Table[The Column]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;", "&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 Jun 2024 09:23:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenatex-with-Distinct-column-values/m-p/3997913#M155488</guid>
      <dc:creator>AriSultani</dc:creator>
      <dc:date>2024-06-18T09:23:11Z</dc:date>
    </item>
  </channel>
</rss>

