<?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: How to get list of new items per month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-list-of-new-items-per-month/m-p/2992522#M100729</link>
    <description>&lt;P&gt;Please try this measure expression.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;NewItems =
VAR thisdate =
    MAX ( Orders[Date] )
VAR newitemstable =
    FILTER (
        DISTINCT ( Orders[Item] ),
        ISBLANK (
            CALCULATE (
                COUNTROWS ( Orders ),
                ALL ( Orders[Date] ),
                Orders[Date] &amp;lt; thisdate
            )
        )
    )
RETURN
    CONCATENATEX ( newitemstable, Orders[Item], ", " )&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;</description>
    <pubDate>Thu, 29 Dec 2022 02:43:44 GMT</pubDate>
    <dc:creator>ppm1</dc:creator>
    <dc:date>2022-12-29T02:43:44Z</dc:date>
    <item>
      <title>How to get list of new items per month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-list-of-new-items-per-month/m-p/2992164#M100702</link>
      <description>&lt;P&gt;I can't seem to find an answer that works for this. Basically I have a table that looks like this:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Item&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Order&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6/1/22&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Bike&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6/1/22&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Tire&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6/1/22&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Bike&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6/1/22&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Shirt&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5/1/22&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Shirt&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5/1/22&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Shirt&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4/1/22&lt;/TD&gt;&lt;TD&gt;Hat&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to see something that shows the new items per month concatenated like below:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;New Items&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6/1/22&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Bike, Tire&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5/1/22&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Shirt&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4/1/22&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Hat&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help with this?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 20:44:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-list-of-new-items-per-month/m-p/2992164#M100702</guid>
      <dc:creator>leahschneider</dc:creator>
      <dc:date>2022-12-28T20:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to get list of new items per month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-list-of-new-items-per-month/m-p/2992194#M100707</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="17915" data-lia-user-login="leahschneider" class="lia-mention lia-mention-user"&gt;leahschneider&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;try this formula in measure,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Concatenate = 
CALCULATE (
    CONCATENATEX ( DISTINCT ( 'Samp Table1'[Item ] ), 'Samp Table1'[Item ], "," ),
    ALLEXCEPT ( 'Samp Table1', 'Samp Table1'[Date ] )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Arul&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 19:48:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-list-of-new-items-per-month/m-p/2992194#M100707</guid>
      <dc:creator>Arul</dc:creator>
      <dc:date>2022-12-28T19:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to get list of new items per month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-list-of-new-items-per-month/m-p/2992224#M100710</link>
      <description>&lt;P&gt;That's incorrect even in your picture. I only want new items for that month, not a distinct list of all items. Your solution has Shirt in June and in May and I only want to see it in May.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 20:25:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-list-of-new-items-per-month/m-p/2992224#M100710</guid>
      <dc:creator>leahschneider</dc:creator>
      <dc:date>2022-12-28T20:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to get list of new items per month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-list-of-new-items-per-month/m-p/2992522#M100729</link>
      <description>&lt;P&gt;Please try this measure expression.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;NewItems =
VAR thisdate =
    MAX ( Orders[Date] )
VAR newitemstable =
    FILTER (
        DISTINCT ( Orders[Item] ),
        ISBLANK (
            CALCULATE (
                COUNTROWS ( Orders ),
                ALL ( Orders[Date] ),
                Orders[Date] &amp;lt; thisdate
            )
        )
    )
RETURN
    CONCATENATEX ( newitemstable, Orders[Item], ", " )&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 02:43:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-list-of-new-items-per-month/m-p/2992522#M100729</guid>
      <dc:creator>ppm1</dc:creator>
      <dc:date>2022-12-29T02:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get list of new items per month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-list-of-new-items-per-month/m-p/2993691#M100788</link>
      <description>&lt;P&gt;This worked but with FIRSTDATE instead of MAX. Max created incorrect rollups.&lt;BR /&gt;&lt;BR /&gt;I'd like to add for future reference that I couldn't get this to work in my actual table which is a big and complicated fact table so I created a small table with summarize to get just the fields I wanted.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 18:01:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-list-of-new-items-per-month/m-p/2993691#M100788</guid>
      <dc:creator>leahschneider</dc:creator>
      <dc:date>2022-12-29T18:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to get list of new items per month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-list-of-new-items-per-month/m-p/3749116#M146231</link>
      <description>&lt;P&gt;This helped me resolve one of the things I need, thanks! Not the exact similar case as I don't need the concatenation, I just need the count of new items for the current month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I am having troubles doing the flipside of this -- ie, I want to get the number of items that were existing in the previous month but not in the current month.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you happen to know the trick?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 15:02:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-list-of-new-items-per-month/m-p/3749116#M146231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-07T15:02:37Z</dc:date>
    </item>
  </channel>
</rss>

