<?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: Distinct months..? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-months/m-p/2420720#M64116</link>
    <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;This is what I got, my field ProductionDate is not recognized:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Mar 2022 07:47:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-03-28T07:47:54Z</dc:date>
    <item>
      <title>Distinct months..?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-months/m-p/2419868#M64059</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have dates in a table with the format yyyymmdd.&lt;/P&gt;&lt;P&gt;I want to populate a list in a report with distinct months with the format mmm&lt;/P&gt;&lt;P&gt;How can I do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kent J.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Mar 2022 17:48:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-months/m-p/2419868#M64059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-27T17:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct months..?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-months/m-p/2419874#M64061</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may try&lt;/P&gt;&lt;LI-CODE lang="php"&gt;Month =
VAR CurrDate =
    SELECTEDVALUE ( Table[Date] )
RETURN
    FORMAT ( DATE ( 1, MONTH ( CurrDate ), 1 ), "mmm" )&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 27 Mar 2022 18:22:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-months/m-p/2419874#M64061</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-03-27T18:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct months..?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-months/m-p/2419919#M64066</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;How about creating a custom column like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here the code:&lt;/P&gt;&lt;PRE&gt;CustomColumn = 
FORMAT (
    DATE ( 
        LEFT ( [date], 4 ),
        RIGHT ( LEFT ( [date] ,6 ), 2 ),
        RIGHT ( [date], 2 )
    ), 
    "mmm"
)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that you can either use that column in a report:&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;Or you create a separate custom table like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know, if this helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Tom&lt;BR /&gt;&lt;A href="https://www.tackytech.blog/" target="_blank"&gt;https://www.tackytech.blog/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.instagram.com/tackytechtom/" target="_blank"&gt;https://www.instagram.com/tackytechtom/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Mar 2022 20:07:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-months/m-p/2419919#M64066</guid>
      <dc:creator>tackytechtom</dc:creator>
      <dc:date>2022-03-27T20:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct months..?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-months/m-p/2420720#M64116</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;This is what I got, my field ProductionDate is not recognized:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 07:47:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-months/m-p/2420720#M64116</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-28T07:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct months..?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-months/m-p/2420732#M64117</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;I think you need to specify the table before the column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Tom&lt;BR /&gt;&lt;A href="https://www.tackytech.blog/" target="_blank"&gt;https://www.tackytech.blog/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.instagram.com/tackytechtom/" target="_blank"&gt;https://www.instagram.com/tackytechtom/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 07:51:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-months/m-p/2420732#M64117</guid>
      <dc:creator>tackytechtom</dc:creator>
      <dc:date>2022-03-28T07:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct months..?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-months/m-p/2420824#M64120</link>
      <description>&lt;P&gt;OK, I still have error on 'ProductionDate'&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 08:18:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-months/m-p/2420824#M64120</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-28T08:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct months..?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-months/m-p/2422319#M64225</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;Are you using a measure instead of a column maybe?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You may share some data if you like so I can look into it, too!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;/Tom&lt;BR /&gt;&lt;A href="https://www.tackytech.blog/" target="_blank"&gt;https://www.tackytech.blog/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.instagram.com/tackytechtom/" target="_blank"&gt;https://www.instagram.com/tackytechtom/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 19:12:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-months/m-p/2422319#M64225</guid>
      <dc:creator>tackytechtom</dc:creator>
      <dc:date>2022-03-28T19:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct months..?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-months/m-p/2422336#M64228</link>
      <description>&lt;P&gt;I created a copy of the column ProductionDate with the format 'mmmyyyy'. Then I grouped by the copy (MonthYear) and summarized 'ItemCount'. Success!&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 19:32:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-months/m-p/2422336#M64228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-28T19:32:46Z</dc:date>
    </item>
  </channel>
</rss>

