<?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: Concatenate returning distinct values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenate-returning-distinct-values/m-p/1174607#M18242</link>
    <description>&lt;P&gt;Try to use VALUES() over the course start date column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ScheduleStartDates = CONCATENATEX('tct_schedule',VALUES(DAY('tct_schedule'[CourseStartDate])),",")&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jun 2020 22:37:30 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2020-06-22T22:37:30Z</dc:date>
    <item>
      <title>Concatenate returning distinct values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenate-returning-distinct-values/m-p/1173495#M18189</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I have a measure in a table that gets the concatenation of values in a different table:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ScheduelStartDates = CONCATENATEX('tct_schedule',DAY('tct_schedule'[CourseStartDate]),",",DAY('tct_schedule'[CourseStartDate]),ASC)&lt;/P&gt;&lt;P&gt;Works well, but since I have many days that are the same, I get an repetition of same values&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;e.g.&amp;nbsp;1, 1,&amp;nbsp; and 11, 11 etc.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I only need to get the distinct&amp;nbsp;days ie 1,2 ,4&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;therefore i need something like&lt;/P&gt;&lt;P&gt;ScheduelStartDates = CONCATENATEX('tct_schedule',DAY(DISTINCT('tct_schedule'[CourseStartDate])),",",DAY('tct_schedule'[CourseStartDate]),ASC)&lt;/P&gt;&lt;P&gt;This doesn't work.&lt;/P&gt;&lt;P&gt;I have tried moving DISTINCT earlier.. doesnt work either.&lt;/P&gt;&lt;P&gt;Help would be appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 11:51:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenate-returning-distinct-values/m-p/1173495#M18189</guid>
      <dc:creator>Anthony67</dc:creator>
      <dc:date>2020-06-22T11:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate returning distinct values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenate-returning-distinct-values/m-p/1174607#M18242</link>
      <description>&lt;P&gt;Try to use VALUES() over the course start date column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ScheduleStartDates = CONCATENATEX('tct_schedule',VALUES(DAY('tct_schedule'[CourseStartDate])),",")&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 22:37:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenate-returning-distinct-values/m-p/1174607#M18242</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-06-22T22:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate returning distinct values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenate-returning-distinct-values/m-p/1175463#M18251</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're a champion!! Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 08:07:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Concatenate-returning-distinct-values/m-p/1175463#M18251</guid>
      <dc:creator>Anthony67</dc:creator>
      <dc:date>2020-06-23T08:07:07Z</dc:date>
    </item>
  </channel>
</rss>

