<?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: Stuck in MoM% change due to Monthyear slicer effects in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4740131#M181537</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287351" data-lia-user-login="AkashShetty" class="lia-mention lia-mention-user"&gt;AkashShetty&lt;/a&gt;,&lt;BR /&gt;I just wanted to follow up on your thread. If the issue is resolved, it would be great if you could mark the solution so other community members facing similar issues can benefit too.&lt;BR /&gt;If not, don’t hesitate to reach out, we’re happy to keep working with you on this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Hammad.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jun 2025 06:25:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-06-23T06:25:55Z</dc:date>
    <item>
      <title>Stuck in MoM% change due to Monthyear slicer effects</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4725220#M180997</link>
      <description>&lt;P&gt;I am unable to view my YoY% and MoM% in the matrix with monthyear slicer(showing 0 values), the values are working fine with year slicer but i need it to work for each month as well. Please help with the same&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;YoY % Growth (Brand) =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR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lt;SPAN&gt;IFERROR&lt;/SPAN&gt;&lt;SPAN&gt;((&lt;/SPAN&gt;&lt;SPAN&gt;CYsales&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;PYsales&lt;/SPAN&gt;&lt;SPAN&gt;)/&lt;/SPAN&gt;&lt;SPAN&gt;PYsales&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;()))&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;This is the syntax i am using for YoY change and i am using quick measure for MoM change&lt;BR /&gt;Please suggest some solutions, thanks in advance&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 07:39:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4725220#M180997</guid>
      <dc:creator>AkashShetty</dc:creator>
      <dc:date>2025-06-09T07:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in MoM% change due to Monthyear slicer effects</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4725337#M181001</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287351" data-lia-user-login="AkashShetty" class="lia-mention lia-mention-user"&gt;AkashShetty&lt;/a&gt;&amp;nbsp;, Try using&lt;/P&gt;
&lt;P&gt;DAX&lt;BR /&gt;YoY % Growth (Brand) =&lt;BR /&gt;VAR CurrentMonthYear = MAX('Non F&amp;amp;B'[Date])&lt;BR /&gt;VAR PreviousYearMonth = EDATE(CurrentMonthYear, -12)&lt;BR /&gt;VAR PYsales = CALCULATE(&lt;BR /&gt;SUM('Non F&amp;amp;B'[Sales]),&lt;BR /&gt;'Non F&amp;amp;B'[Date] = PreviousYearMonth&lt;BR /&gt;)&lt;BR /&gt;VAR CYsales = SUM('Non F&amp;amp;B'[Sales])&lt;BR /&gt;RETURN&lt;BR /&gt;IFERROR((CYsales - PYsales) / PYsales, BLANK())&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DAX&lt;BR /&gt;MoM % Growth (Brand) =&lt;BR /&gt;VAR CurrentMonth = MAX('Non F&amp;amp;B'[Date])&lt;BR /&gt;VAR PreviousMonth = EDATE(CurrentMonth, -1)&lt;BR /&gt;VAR PMsales = CALCULATE(&lt;BR /&gt;SUM('Non F&amp;amp;B'[Sales]),&lt;BR /&gt;'Non F&amp;amp;B'[Date] = PreviousMonth&lt;BR /&gt;)&lt;BR /&gt;VAR CMsales = SUM('Non F&amp;amp;B'[Sales])&lt;BR /&gt;RETURN&lt;BR /&gt;IFERROR((CMsales - PMsales) / PMsales, BLANK())&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 08:54:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4725337#M181001</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2025-06-09T08:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in MoM% change due to Monthyear slicer effects</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4725410#M181003</link>
      <description>&lt;P&gt;Thank you, but still not working&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 09:27:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4725410#M181003</guid>
      <dc:creator>AkashShetty</dc:creator>
      <dc:date>2025-06-09T09:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in MoM% change due to Monthyear slicer effects</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4725765#M181021</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287351" data-lia-user-login="AkashShetty" class="lia-mention lia-mention-user"&gt;AkashShetty&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The reason your YoY% and MoM% measures show zero values when using a MonthYear slicer is that time intelligence functions like SAMEPERIODLASTYEAR and DATEADD require a continuous date column to work correctly, rather than a text or formatted MonthYear field. If your slicer is based on a formatted MonthYear string (like "Jan 2025"), Power BI cannot properly interpret the date sequence, causing these calculations to return blank or zero. To fix this, you should use a dedicated Date table marked as a Date Table in Power BI, which contains a continuous date column. Then, instead of filtering by the MonthYear text field, use the actual Date column from this Date table in your slicer, configured to show months. Adjust your YoY and MoM measures to reference this Date table’s Date column in their time intelligence functions. This approach ensures the calculations respect the proper date sequence, allowing your YoY% and MoM% to display correctly at monthly granularity.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;YoY % Growth (Brand) =
VAR CYSales =
    CALCULATE(SUM('Non F&amp;amp;B'[Sales]))
VAR PYSales =
    CALCULATE(
        SUM('Non F&amp;amp;B'[Sales]),
        SAMEPERIODLASTYEAR('DateTable'[Date]) -- use your date table
    )
RETURN
    DIVIDE(CYSales - PYSales, PYSales)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MoM % Growth =
VAR CYSales = SUM('Non F&amp;amp;B'[Sales])
VAR PmSales = CALCULATE(
    SUM('Non F&amp;amp;B'[Sales]),
    DATEADD('DateTable'[Date], -1, MONTH)
)
RETURN
    DIVIDE(CYSales - PmSales, PmSales)
&lt;/LI-CODE&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, 09 Jun 2025 12:41:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4725765#M181021</guid>
      <dc:creator>Poojara_D12</dc:creator>
      <dc:date>2025-06-09T12:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in MoM% change due to Monthyear slicer effects</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4726612#M181056</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287351" data-lia-user-login="AkashShetty" class="lia-mention lia-mention-user"&gt;AkashShetty&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;/P&gt;
&lt;P&gt;It looks like you are trying to calculate Year-over-Year (YoY%) and Month-over-Month (MoM%) growth metrics for sales in a Power BI matrix visual. As&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="837199" data-lia-user-login="Poojara_D12" class="lia-mention lia-mention-user"&gt;Poojara_D12&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;already responded to your query, kindly go through their responses and check if your issue can be resolved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would also take a moment to thank &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="837199" data-lia-user-login="Poojara_D12" class="lia-mention lia-mention-user"&gt;Poojara_D12&lt;/a&gt;&amp;nbsp;and &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Hammad.&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps then please mark it as a solution, so that other members find it more quickly.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 06:59:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4726612#M181056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-10T06:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in MoM% change due to Monthyear slicer effects</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4732810#M181287</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287351" data-lia-user-login="AkashShetty" class="lia-mention lia-mention-user"&gt;AkashShetty&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.&lt;/P&gt;
&lt;P&gt;If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If so, it would be really helpful for the community if you could mark the answer that helped you the most. If you're still looking for guidance, feel free to give us an update, we’re here for you!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 05:10:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4732810#M181287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-16T05:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in MoM% change due to Monthyear slicer effects</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4732827#M181288</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I couldn't find the solution I was looking for, as a workaorund I am using both year and month slicers for accuracy which is long but works well. Thank you for all the help&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 05:14:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4732827#M181288</guid>
      <dc:creator>AkashShetty</dc:creator>
      <dc:date>2025-06-16T05:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in MoM% change due to Monthyear slicer effects</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4738292#M181486</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287351" data-lia-user-login="AkashShetty" class="lia-mention lia-mention-user"&gt;AkashShetty&lt;/a&gt;,&lt;/P&gt;
&lt;P data-start="196" data-end="411"&gt;Appreciate you coming back and sharing the workaround. Using both Year and Month slicers can be a functional stopgap, especially when deadlines are tight or you just need something to work reliably.&lt;/P&gt;
&lt;P data-start="413" data-end="761"&gt;That said, if you do revisit this later, I’d really recommend reviewing the setup of your Date table and how it interacts with your slicers. The key is making sure your slicer is operating on an actual continuous date column that’s what really unlocks the full power of those time intelligence functions like SAMEPERIODLASTYEAR and DATEADD.&lt;/P&gt;
&lt;P data-start="763" data-end="933"&gt;If you'd like, I can take a look at your model or walk you through adjusting the slicer and date setup it’s usually a one-time fix that saves a lot of effort long-term.&lt;/P&gt;
&lt;P data-start="763" data-end="933"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="763" data-end="933"&gt;Best Regards,&lt;BR /&gt;Hammad.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 06:21:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4738292#M181486</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-20T06:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in MoM% change due to Monthyear slicer effects</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4740131#M181537</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287351" data-lia-user-login="AkashShetty" class="lia-mention lia-mention-user"&gt;AkashShetty&lt;/a&gt;,&lt;BR /&gt;I just wanted to follow up on your thread. If the issue is resolved, it would be great if you could mark the solution so other community members facing similar issues can benefit too.&lt;BR /&gt;If not, don’t hesitate to reach out, we’re happy to keep working with you on this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Hammad.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 06:25:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4740131#M181537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-23T06:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in MoM% change due to Monthyear slicer effects</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4744487#M181661</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287351" data-lia-user-login="AkashShetty" class="lia-mention lia-mention-user"&gt;AkashShetty&lt;/a&gt;,&lt;BR /&gt;We noticed there hasn’t been any recent activity on this thread. If your issue is resolved, marking the correct reply as a solution would be a big help to other community members.&lt;BR /&gt;If you still need support, just reply here and we’ll pick it up from where we left off.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Hammad.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 05:56:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stuck-in-MoM-change-due-to-Monthyear-slicer-effects/m-p/4744487#M181661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-26T05:56:29Z</dc:date>
    </item>
  </channel>
</rss>

