<?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 Re: How to concatenate n values in a matrix table ? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-concatenate-n-values-in-a-matrix-table/m-p/3775734#M147551</link>
    <description>&lt;P&gt;Thanks a lot, it's perfect &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2024 14:52:35 GMT</pubDate>
    <dc:creator>Bebs</dc:creator>
    <dc:date>2024-03-19T14:52:35Z</dc:date>
    <item>
      <title>How to concatenate n values in a matrix table ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-concatenate-n-values-in-a-matrix-table/m-p/3760355#M146706</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In a matrix table, I want to display every distinct value of a string column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do IT ?&lt;/P&gt;&lt;P&gt;(I'm looking for some sort of concatenate agg function but it doesn't seems to exist (CONCATENATE function only works for 2 values, not n values).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 10:35:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-concatenate-n-values-in-a-matrix-table/m-p/3760355#M146706</guid>
      <dc:creator>Bebs</dc:creator>
      <dc:date>2024-03-13T10:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to concatenate n values in a matrix table ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-concatenate-n-values-in-a-matrix-table/m-p/3760372#M146707</link>
      <description>&lt;P&gt;&amp;nbsp;HI,&lt;/P&gt;&lt;P&gt;You have to use concatenatex. If you want some help, give me a pic of your table&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 10:46:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-concatenate-n-values-in-a-matrix-table/m-p/3760372#M146707</guid>
      <dc:creator>JamesFR06</dc:creator>
      <dc:date>2024-03-13T10:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to concatenate n values in a matrix table ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-concatenate-n-values-in-a-matrix-table/m-p/3765477#M146958</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="432317" data-lia-user-login="Bebs" class="lia-mention lia-mention-user"&gt;Bebs&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="671299" data-lia-user-login="JamesFR06" class="lia-mention lia-mention-user"&gt;JamesFR06&lt;/a&gt;&amp;nbsp; suggested that you provide some data but did not receive a response so I created a sample data to address your question:&lt;BR /&gt;Sample data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.Add a column.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Distinct ID = 
VAR _1 =
    CONCATENATEX ( DISTINCT ( 'Table'[ID] ), 'Table'[ID], ", " )
VAR _2 =
    CONCATENATEX ( DISTINCT ( 'Table'[Name] ), 'Table'[Name], ", " )
VAR _3 =
    CONCATENATEX ( DISTINCT ( 'Table'[Category] ), 'Table'[Category], ", " )
RETURN
    _1 &amp;amp; " | " &amp;amp; _2 &amp;amp; " | " &amp;amp; _3
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Final output:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener"&gt;How to Get Your Question Answered Quickly - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If it does not help, please provide more details with your desired out put and pbix file without privacy information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ada Wang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;Accept it as the solution&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 07:56:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-concatenate-n-values-in-a-matrix-table/m-p/3765477#M146958</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-15T07:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to concatenate n values in a matrix table ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-concatenate-n-values-in-a-matrix-table/m-p/3775734#M147551</link>
      <description>&lt;P&gt;Thanks a lot, it's perfect &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 14:52:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-concatenate-n-values-in-a-matrix-table/m-p/3775734#M147551</guid>
      <dc:creator>Bebs</dc:creator>
      <dc:date>2024-03-19T14:52:35Z</dc:date>
    </item>
  </channel>
</rss>

