<?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 concatenated values of column in single rows in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-concatenated-values-of-column-in-single/m-p/1256672#M20791</link>
    <description>You could add more conditions to the code Harsh and I provided doesn't that solve it?</description>
    <pubDate>Tue, 28 Jul 2020 16:35:10 GMT</pubDate>
    <dc:creator>AntrikshSharma</dc:creator>
    <dc:date>2020-07-28T16:35:10Z</dc:date>
    <item>
      <title>Calculated column with concatenated values of column in single rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-concatenated-values-of-column-in-single/m-p/1253932#M20696</link>
      <description>&lt;P&gt;Hi, I'm trying to reach a new calculated column like this one in the table:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;the goal is concatenate the "EE" with their respective "tns" for every "OP" but distinct by "date", so only the same OP's with the same Dates should concatenate, with this calculated column i will be able to later create a visual like this one:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;any help will very much&amp;nbsp;appreciated, thanks!!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 00:08:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-concatenated-values-of-column-in-single/m-p/1253932#M20696</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-28T00:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column with concatenated values of column in single rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-concatenated-values-of-column-in-single/m-p/1254290#M20708</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; ,&lt;/P&gt;
&lt;P&gt;concatenatex(Table,Table[EF] &amp;amp; "(" &amp;amp; Table[Tns] &amp;amp; ")",",")&lt;/P&gt;
&lt;P&gt;if required use distinct&lt;/P&gt;
&lt;P&gt;concatenatex(distinct(Table[EF],Table[Tns] ),Table[EF] &amp;amp; "(" &amp;amp; Table[Tns] &amp;amp; ")",",")&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 04:08:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-concatenated-values-of-column-in-single/m-p/1254290#M20708</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-07-28T04:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column with concatenated values of column in single rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-concatenated-values-of-column-in-single/m-p/1254330#M20711</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;LI-CODE lang="php"&gt;Column =
VAR CurrentOP = Midguel[OP]
VAR MatchingRows =
    FILTER ( Midguel, Midguel[OP] = CurrentOP )
VAR Result =
    CONCATENATEX ( MatchingRows, Midguel[EE] &amp;amp; "(" &amp;amp; Midguel[Tns] &amp;amp; ")", ", " )
RETURN
    Result&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 04:48:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-concatenated-values-of-column-in-single/m-p/1254330#M20711</guid>
      <dc:creator>AntrikshSharma</dc:creator>
      <dc:date>2020-07-28T04:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column with concatenated values of column in single rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-concatenated-values-of-column-in-single/m-p/1254562#M20713</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a Calculated Column&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CCEPCol = concatenatex(FILTER('Table10',Table10[Date] = EARLIER(Table10[Date]) &amp;amp;&amp;amp; Table10[OP] = EARLIER(Table10[OP])),'Table10'[EE] &amp;amp; "(" &amp;amp; Table10[TNS] &amp;amp; ")",",")&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Harsh Nathani&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 06:34:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-concatenated-values-of-column-in-single/m-p/1254562#M20713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-28T06:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column with concatenated values of column in single rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-concatenated-values-of-column-in-single/m-p/1256610#M20789</link>
      <description>&lt;P&gt;Thank you all for your help, i tried the codes and i found another problem that i wasn't expecting:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;turns out my data base has more columns that divide my 'tns' (tons) in more tiny pieces, and the result of the concatenate is the tiny ton with their 'EE', i would like to SUM the tons whenever my EE, OP and Date are the same, and i tried this solution:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;concatenate = CONCATENATEX(FILTER('Table','Table'[Date] = EARLIER('Table'[Date]) &amp;amp;&amp;amp; 'Table'[OP] = EARLIER('Table'[OP])),'Table'[EE] &amp;amp; "(" &amp;amp; CALCULATE(SUM('Table'[Tons]),ALLEXCEPT('Table','Table'[EE],'Table'[OP],'Table'[Date])) &amp;amp; ")",",")&lt;/LI-CODE&gt;&lt;P&gt;but then that returned me this LOL:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;sums it but repeats the number of times my same EE appears, is there a better solution for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time, i really aprecciate your help, thanks!&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="236628" data-lia-user-login="AntrikshSharma" class="lia-mention lia-mention-user"&gt;AntrikshSharma&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 16:18:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-concatenated-values-of-column-in-single/m-p/1256610#M20789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-28T16:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column with concatenated values of column in single rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-concatenated-values-of-column-in-single/m-p/1256672#M20791</link>
      <description>You could add more conditions to the code Harsh and I provided doesn't that solve it?</description>
      <pubDate>Tue, 28 Jul 2020 16:35:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-concatenated-values-of-column-in-single/m-p/1256672#M20791</guid>
      <dc:creator>AntrikshSharma</dc:creator>
      <dc:date>2020-07-28T16:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column with concatenated values of column in single rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-concatenated-values-of-column-in-single/m-p/1257108#M20808</link>
      <description>&lt;P&gt;what kind of condition?&lt;/P&gt;&lt;P&gt;Look, I made this example hoping it clarifies a little better my problem, using only one OP, one EE and 2 dates&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;the green column would be the goal.&lt;/P&gt;&lt;P&gt;thank you very much for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 19:31:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-concatenated-values-of-column-in-single/m-p/1257108#M20808</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-28T19:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column with concatenated values of column in single rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-concatenated-values-of-column-in-single/m-p/1259923#M20943</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;Try a measure like&lt;/P&gt;
&lt;P&gt;measure =&lt;BR /&gt;var _tab = summarize(Table, table[OP], Table[EE], "_1", sum(Table[tns]))&lt;BR /&gt;return &lt;BR /&gt;concatenatex(_tab, EE &amp;amp; "(" &amp;amp; _1 &amp;amp; ")")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Display with OP&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 17:35:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-with-concatenated-values-of-column-in-single/m-p/1259923#M20943</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-07-29T17:35:27Z</dc:date>
    </item>
  </channel>
</rss>

