<?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: Help with Concatenatex in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Concatenatex/m-p/4127184#M163894</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="789126" data-lia-user-login="slice_dice" class="lia-mention lia-mention-user"&gt;slice_dice&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
var a = CALCULATETABLE(VALUES(Dim_person[Person]),CROSSFILTER(Facts[FK_person],Dim_person[Key],Both))
RETURN
CONCATENATEX(a,Dim_person[Person],",")&lt;/LI-CODE&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;BR /&gt;&lt;BR /&gt;Download below file&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Dangar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Aug 2024 15:07:51 GMT</pubDate>
    <dc:creator>Dangar332</dc:creator>
    <dc:date>2024-08-30T15:07:51Z</dc:date>
    <item>
      <title>Help with Concatenatex</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Concatenatex/m-p/4123352#M163730</link>
      <description>&lt;P class=""&gt;There is a video that shows how to use Concatenatex to join multiple items that are being aggregated in a pivot table. (&lt;A href="https://www.youtube.com/watch?v=J6yxJ2uELxQ&amp;amp;t=470s" target="_blank" rel="noopener noreferrer nofollow"&gt;https://www.youtube.com/watch?v=J6yxJ2uELxQ&amp;amp;t=470s&lt;/A&gt;).&lt;/P&gt;&lt;P class=""&gt;However, it seems to be specific to the OneBigTable approach to modelling.&lt;/P&gt;&lt;P class=""&gt;Wondering if there is a way to do with a star schema. Here is a graphic of what I mean:&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 18:41:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Concatenatex/m-p/4123352#M163730</guid>
      <dc:creator>slice_dice</dc:creator>
      <dc:date>2024-08-28T18:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Concatenatex</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Concatenatex/m-p/4123364#M163732</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="789126" data-lia-user-login="slice_dice" class="lia-mention lia-mention-user"&gt;slice_dice&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Try below measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;measure =
Var a = Values('Table'[Person])
return
Concatenatex(a,'Table'[Person]," ,")&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 28 Aug 2024 18:53:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Concatenatex/m-p/4123364#M163732</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2024-08-28T18:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Concatenatex</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Concatenatex/m-p/4123462#M163737</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="569583" data-lia-user-login="Dangar332" class="lia-mention lia-mention-user"&gt;Dangar332&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I tried that and the Concat is combining all values ignoring row context. It should show "Tom,Mark" for South and "Jerry" for West in instead it shows all.&amp;nbsp; Here are some screen shots&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 20:18:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Concatenatex/m-p/4123462#M163737</guid>
      <dc:creator>slice_dice</dc:creator>
      <dc:date>2024-08-28T20:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Concatenatex</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Concatenatex/m-p/4123665#M163744</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="789126" data-lia-user-login="slice_dice" class="lia-mention lia-mention-user"&gt;slice_dice&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would a measure like this help?&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Concatenatex = 
    CONCATENATEX(
        'Sales',
        RELATED( 'Person'[Person] ),
        ", "
    )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you have any questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 23:53:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Concatenatex/m-p/4123665#M163744</guid>
      <dc:creator>gmsamborn</dc:creator>
      <dc:date>2024-08-28T23:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Concatenatex</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Concatenatex/m-p/4124232#M163764</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="789126" data-lia-user-login="slice_dice" class="lia-mention lia-mention-user"&gt;slice_dice&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have created measure using data you provided&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The above measure is work perfect&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;You can download .PBIX file&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Dangar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 06:24:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Concatenatex/m-p/4124232#M163764</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2024-08-29T06:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Concatenatex</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Concatenatex/m-p/4125649#M163837</link>
      <description>&lt;P&gt;Dangar332,&lt;/P&gt;&lt;P&gt;Many thanks for your help on this.&amp;nbsp;&lt;BR /&gt;I noticed the difference between the two models is your PBIX file has a 1 to 1 relationship between Dim_Person and Facts while my has a 1 to many.&lt;BR /&gt;&lt;BR /&gt;See&lt;/P&gt;&lt;P&gt;Here is the data model from the PBIX file&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the data mode from my power pivot model&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see that your got the desired result but wondering if that result is possible modelled the way I have done with a 1 to many relationship from dim_person to facts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 20:09:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Concatenatex/m-p/4125649#M163837</guid>
      <dc:creator>slice_dice</dc:creator>
      <dc:date>2024-08-29T20:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Concatenatex</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Concatenatex/m-p/4127184#M163894</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="789126" data-lia-user-login="slice_dice" class="lia-mention lia-mention-user"&gt;slice_dice&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
var a = CALCULATETABLE(VALUES(Dim_person[Person]),CROSSFILTER(Facts[FK_person],Dim_person[Key],Both))
RETURN
CONCATENATEX(a,Dim_person[Person],",")&lt;/LI-CODE&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;BR /&gt;&lt;BR /&gt;Download below file&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Dangar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 15:07:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Concatenatex/m-p/4127184#M163894</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2024-08-30T15:07:51Z</dc:date>
    </item>
  </channel>
</rss>

