<?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: Calculated column with a entries for each order from different table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-a-entries-for-each-order-from-different/m-p/2733669#M83792</link>
    <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Aug 2022 00:00:52 GMT</pubDate>
    <dc:creator>CNENFRNL</dc:creator>
    <dc:date>2022-08-30T00:00:52Z</dc:date>
    <item>
      <title>Calculated column with a entries for each order from different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-a-entries-for-each-order-from-different/m-p/2732544#M83709</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;
&lt;P&gt;I have a Sales Master table that contains for each order 1 row:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Order Nr&lt;/TD&gt;
&lt;TD width="50%"&gt;Value&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;1&lt;/TD&gt;
&lt;TD width="50%"&gt;5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;2&lt;/TD&gt;
&lt;TD width="50%"&gt;6&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I have a transaction table with multiple rows for each sales order:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;Order Nr&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;Text&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;1&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;ABC&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;1&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;ABC&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="30px"&gt;1&lt;/TD&gt;
&lt;TD height="30px"&gt;ADF&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="30px"&gt;1&lt;/TD&gt;
&lt;TD height="30px"&gt;KIG&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;2&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;B&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now I would like to add a calculated column to the sales master that contains all distinct text entries for each order from the second table, seperated with a commata.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How is this possible?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 12:24:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-a-entries-for-each-order-from-different/m-p/2732544#M83709</guid>
      <dc:creator>joshua1990</dc:creator>
      <dc:date>2022-08-29T12:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column with a entries for each order from different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-a-entries-for-each-order-from-different/m-p/2732558#M83711</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92006" data-lia-user-login="joshua1990" class="lia-mention lia-mention-user"&gt;joshua1990&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;assume that you have a one to many relationship between the two tables based on [Prder Nr] columns then&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;NewColumn =
CONCATENATEX (
    RELATEDTABLE ( transaction ),
    transaction[Text],
    UNICHAR ( 10 ),
    transaction[Text], ASC
)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 29 Aug 2022 12:30:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-a-entries-for-each-order-from-different/m-p/2732558#M83711</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-08-29T12:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column with a entries for each order from different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-a-entries-for-each-order-from-different/m-p/2733363#M83770</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;: Thanks a lot! Yes, there is a 1:n relation between both tables.&lt;/P&gt;
&lt;P&gt;It works, but not in the way I would like to see. I get as a string all values now, but I would like to get just distinct / unique values. How can I exclude duplictes here?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 19:29:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-a-entries-for-each-order-from-different/m-p/2733363#M83770</guid>
      <dc:creator>joshua1990</dc:creator>
      <dc:date>2022-08-29T19:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column with a entries for each order from different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-a-entries-for-each-order-from-different/m-p/2733669#M83792</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 00:00:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-a-entries-for-each-order-from-different/m-p/2733669#M83792</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2022-08-30T00:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column with a entries for each order from different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-a-entries-for-each-order-from-different/m-p/2733883#M83805</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92006" data-lia-user-login="joshua1990" class="lia-mention lia-mention-user"&gt;joshua1990&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are right. Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;NewColumn =
CONCATENATEX (
    CALCULATETABLE ( VALUES ( transaction[Text] ) ),
    transaction[Text],
    UNICHAR ( 10 ),
    transaction[Text], ASC
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 30 Aug 2022 02:58:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-a-entries-for-each-order-from-different/m-p/2733883#M83805</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-08-30T02:58:40Z</dc:date>
    </item>
  </channel>
</rss>

