<?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: Top 5 categories month wise by the recent month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988654#M100445</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="491037" data-lia-user-login="Rami_Aziz" class="lia-mention lia-mention-user"&gt;Rami_Aziz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That works.&lt;/P&gt;
&lt;P&gt;Top 5 based on what exactly?? Who is the top 1 for instance in Nov and why?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="height: 100px; width: 100%; border-collapse: collapse; border-style: groove; border-color: #0c1c49; background-color: #00675f;" border="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15px;"&gt;
&lt;TD width="15.961305925030231%" style="width: 92px; height: 15px;"&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84.03869407496977%" style="width: 485px; height: 15px; text-align: left;"&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Please accept the solution when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4.5" color="#FF99CC"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Dec 2022 10:08:08 GMT</pubDate>
    <dc:creator>AlB</dc:creator>
    <dc:date>2022-12-26T10:08:08Z</dc:date>
    <item>
      <title>Top 5 categories month wise by the recent month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2987903#M100392</link>
      <description>&lt;P&gt;hi Guys, i need your help&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;im trying to create top 5 categories by monthwise, also by recent month Recent month is Nov-22&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tier1-2-3 are group of products&amp;nbsp;&lt;/P&gt;&lt;P&gt;as the pic below (1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Dec 2022 14:11:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2987903#M100392</guid>
      <dc:creator>Rami_Aziz</dc:creator>
      <dc:date>2022-12-25T14:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 categories month wise by the recent month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988012#M100397</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="491037" data-lia-user-login="Rami_Aziz" class="lia-mention lia-mention-user"&gt;Rami_Aziz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share the pbix or some sample data and the expected result based on it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="height: 100px; width: 100%; border-collapse: collapse; border-style: groove; border-color: #0c1c49; background-color: #00675f;" border="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15px;"&gt;
&lt;TD width="15.961305925030231%" style="width: 92px; height: 15px;"&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84.03869407496977%" style="width: 485px; height: 15px; text-align: left;"&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Please accept the solution when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4.5" color="#FF99CC"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Dec 2022 20:37:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988012#M100397</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2022-12-25T20:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 categories month wise by the recent month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988585#M100437</link>
      <description>&lt;P&gt;Im not sure how to attach the PBIX, based on the last month which is Nov 22, i want the same products to be showen for Oct &amp;amp; Sep ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so lets assume Printer-Moniter-Screen are the the top on Nov, then i need to see how much they were even in Oct &amp;amp; Sep.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so the top 5 from Nov, I need to see them also on Oct &amp;amp; Sep.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 09:16:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988585#M100437</guid>
      <dc:creator>Rami_Aziz</dc:creator>
      <dc:date>2022-12-26T09:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 categories month wise by the recent month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988605#M100439</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="491037" data-lia-user-login="Rami_Aziz" class="lia-mention lia-mention-user"&gt;Rami_Aziz&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Im not sure how to attach the PBIX,&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You have to share the &lt;STRONG&gt;URL to the file hosted elsewhere&lt;/STRONG&gt;: Dropbox, Onedrive... or just upload the file to a site like &lt;A href="http://www.tinyupload.com" target="_self"&gt;tinyupload.com&lt;/A&gt; (no sign-up required).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="height: 100px; width: 100%; border-collapse: collapse; border-style: groove; border-color: #0c1c49; background-color: #00675f;" border="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15px;"&gt;
&lt;TD width="15.961305925030231%" style="width: 92px; height: 15px;"&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84.03869407496977%" style="width: 485px; height: 15px; text-align: left;"&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Please accept the solution when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4.5" color="#FF99CC"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 09:35:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988605#M100439</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2022-12-26T09:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 categories month wise by the recent month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988632#M100441</link>
      <description>&lt;P&gt;&lt;A href="https://1drv.ms/u/s!Ahqej0R8cjw2ixYomawSUTR-cXYT?e=9OXDGY" target="_blank" rel="noopener"&gt;https://1drv.ms/u/s!Ahqej0R8cjw2ixYomawSUTR-cXYT?e=9OXDGY&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;does that work for you ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 09:53:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988632#M100441</guid>
      <dc:creator>Rami_Aziz</dc:creator>
      <dc:date>2022-12-26T09:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 categories month wise by the recent month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988654#M100445</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="491037" data-lia-user-login="Rami_Aziz" class="lia-mention lia-mention-user"&gt;Rami_Aziz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That works.&lt;/P&gt;
&lt;P&gt;Top 5 based on what exactly?? Who is the top 1 for instance in Nov and why?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="height: 100px; width: 100%; border-collapse: collapse; border-style: groove; border-color: #0c1c49; background-color: #00675f;" border="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15px;"&gt;
&lt;TD width="15.961305925030231%" style="width: 92px; height: 15px;"&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84.03869407496977%" style="width: 485px; height: 15px; text-align: left;"&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Please accept the solution when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4.5" color="#FF99CC"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 10:08:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988654#M100445</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2022-12-26T10:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 categories month wise by the recent month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988673#M100446</link>
      <description>&lt;P&gt;Every month im receiving all the issues and categorized it into 1-2-3, so if&amp;nbsp; Nov was the last month for these top 5, how can i&amp;nbsp; also to check the same category( Top 5 from Nov) on prvious months( Oct &amp;amp; Sep) and if it was high on the previous month then i do have a serious issue, but if it was low then i dont need to be worried.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;scenario is Top5 based on Nov&amp;nbsp; and how much they were on oct and sep, also i need to show them as visual below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 10:26:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988673#M100446</guid>
      <dc:creator>Rami_Aziz</dc:creator>
      <dc:date>2022-12-26T10:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 categories month wise by the recent month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988720#M100449</link>
      <description>&lt;P&gt;top 5 Tier 1-2-3 count based on month of Nov, but also i need to see those top5 Tier how much they were on also oct and sep.&lt;/P&gt;&lt;P&gt;here on the image are the top 5 count for Nov, i also need to see Oct and Sep on the same way but the base is month of Nov, so i will be having 3 groups&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. top 5 Tier for Nov.&lt;/P&gt;&lt;P&gt;2. the same top 5 from Nov catrgory but Oct count.&lt;/P&gt;&lt;P&gt;3. the same&amp;nbsp;the same top 5 from Nov catrgory but Sep count.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 11:11:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988720#M100449</guid>
      <dc:creator>Rami_Aziz</dc:creator>
      <dc:date>2022-12-26T11:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 categories month wise by the recent month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988726#M100451</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="491037" data-lia-user-login="Rami_Aziz" class="lia-mention lia-mention-user"&gt;Rami_Aziz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See it all at work in the attached file.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; Create this measure&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_ShowMeasure = 
VAR latestMonth2_ = MAX ( 'Incident Details report'[Submitted Month2] )
VAR auxT_ =
    TOPN (
        5,
        ALL ( 'Incident Details report'[Tier 1-2-3] ),
        CALCULATE (
            [_NumIncidents],
            'Incident Details report'[Submitted Month2] = latestMonth2_,
            ALL('Incident Details report'[Submitted Month])
        )
    )
VAR tier_ = SELECTEDVALUE ( 'Incident Details report'[Tier 1-2-3] )
RETURN
    IF ( tier_ IN auxT_, 1)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;that uses this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_NumIncidents = 
COUNT ( 'Incident Details report'[Tier 1-2-3] )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2. &lt;/STRONG&gt;Place [ShowMeasure] as a filter for your matrix visual. Select to show when its value is 1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note&amp;nbsp; there's a Tier 1-2-3 value with blanks ("--") that comes up at the very top. Update the code if you want to exclude it (or remove it from the table directly) &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="height: 100px; width: 100%; border-collapse: collapse; border-style: groove; border-color: #0c1c49; background-color: #00675f;" border="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15px;"&gt;
&lt;TD width="15.961305925030231%" style="width: 92px; height: 15px;"&gt;&lt;BR /&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84.03869407496977%" style="width: 485px; height: 15px; text-align: left;"&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Please accept the solution when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4.5" color="#FF99CC"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 11:24:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988726#M100451</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2022-12-26T11:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 categories month wise by the recent month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988731#M100453</link>
      <description>&lt;P&gt;Thanks AIB,&lt;/P&gt;&lt;P&gt;could you please share the PBIX,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 11:26:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988731#M100453</guid>
      <dc:creator>Rami_Aziz</dc:creator>
      <dc:date>2022-12-26T11:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 categories month wise by the recent month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988754#M100460</link>
      <description>&lt;P&gt;am trying to show it on a visual such as clustered chart , can i do that ?&lt;/P&gt;&lt;P&gt;each group of month separately&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 11:41:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2988754#M100460</guid>
      <dc:creator>Rami_Aziz</dc:creator>
      <dc:date>2022-12-26T11:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 categories month wise by the recent month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2992022#M100695</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="491037" data-lia-user-login="Rami_Aziz" class="lia-mention lia-mention-user"&gt;Rami_Aziz&lt;/a&gt; &lt;/P&gt;
&lt;P&gt;See the attached file for a solution with a clustered column chart. Note I have updated the measure that determines what elements to show a bit; the previous version had some issues:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_ShowMeasure V2 =
VAR NToShow_ = 5
VAR latestMonth2_ =
    CALCULATE (
        MAX ( 'Incident Details report'[Submitted Month2] ),
        ALL ( 'Incident Details report' )
    )
VAR latestMonth_ =
    LOOKUPVALUE (
        'Incident Details report'[Submitted Month],
        'Incident Details report'[Submitted Month2], latestMonth2_
    )
VAR auxT_ =
    TOPN (
        NToShow_,
        ALL ( 'Incident Details report'[Tier 1-2-3] ),
        CALCULATE (
            [_NumberOfIncidents],
            'Incident Details report'[Submitted Month2] = latestMonth2_,
            'Incident Details report'[Submitted Month] = latestMonth_
        )
    )
VAR tier_ = SELECTEDVALUE ( 'Incident Details report'[Tier 1-2-3] )
RETURN
    IF ( tier_ IN auxT_, 1 )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="height: 100px; width: 100%; border-collapse: collapse; border-style: groove; border-color: #0c1c49; background-color: #00675f;" border="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15px;"&gt;
&lt;TD width="15.961305925030231%" style="width: 92px; height: 15px;"&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="84.03869407496977%" style="width: 485px; height: 15px; text-align: left;"&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Please accept the solution when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FFFFFF"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4.5" color="#FF99CC"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 16:50:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-5-categories-month-wise-by-the-recent-month/m-p/2992022#M100695</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2022-12-28T16:50:29Z</dc:date>
    </item>
  </channel>
</rss>

