<?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: Multiple rows into a single column with Many to Many relationship in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-rows-into-a-single-column-with-Many-to-Many/m-p/2814219#M89170</link>
    <description>&lt;P&gt;Try&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Repos =
VAR CurrentStory = Story[Story ID]
VAR PRs =
    CALCULATETABLE (
        VALUES ( 'Story PR'[PR ID] ),
        TREATAS ( { CurrentStory }, 'Story PR'[Story ID] )
    )
RETURN
    CONCATENATEX (
        CALCULATETABLE (
            VALUES ( 'PR Repo'[Repo name] ),
            TREATAS ( PRs, 'PR Repo'[PR ID] )
        ),
        'PR Repo'[Repo name],
        ", "
    )
&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 03 Oct 2022 14:05:33 GMT</pubDate>
    <dc:creator>johnt75</dc:creator>
    <dc:date>2022-10-03T14:05:33Z</dc:date>
    <item>
      <title>Multiple rows into a single column with Many to Many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-rows-into-a-single-column-with-Many-to-Many/m-p/2813783#M89144</link>
      <description>&lt;P&gt;I have following tables with two level parent child hirarchy&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the output I need is a , comma separated Repo Names column in Story Table as seen below -&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me with a DAX query for the same?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 11:42:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-rows-into-a-single-column-with-Many-to-Many/m-p/2813783#M89144</guid>
      <dc:creator>yogeshk77</dc:creator>
      <dc:date>2022-10-03T11:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple rows into a single column with Many to Many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-rows-into-a-single-column-with-Many-to-Many/m-p/2814219#M89170</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Repos =
VAR CurrentStory = Story[Story ID]
VAR PRs =
    CALCULATETABLE (
        VALUES ( 'Story PR'[PR ID] ),
        TREATAS ( { CurrentStory }, 'Story PR'[Story ID] )
    )
RETURN
    CONCATENATEX (
        CALCULATETABLE (
            VALUES ( 'PR Repo'[Repo name] ),
            TREATAS ( PRs, 'PR Repo'[PR ID] )
        ),
        'PR Repo'[Repo name],
        ", "
    )
&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 03 Oct 2022 14:05:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-rows-into-a-single-column-with-Many-to-Many/m-p/2814219#M89170</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-10-03T14:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple rows into a single column with Many to Many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-rows-into-a-single-column-with-Many-to-Many/m-p/2815760#M89279</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240987" data-lia-user-login="johnt75" class="lia-mention lia-mention-user"&gt;johnt75&lt;/a&gt;&amp;nbsp;, you are awesome ! Thanks much&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 04:02:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-rows-into-a-single-column-with-Many-to-Many/m-p/2815760#M89279</guid>
      <dc:creator>yogeshk77</dc:creator>
      <dc:date>2022-10-04T04:02:41Z</dc:date>
    </item>
  </channel>
</rss>

