<?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 MTD value shows last month data because this month there is no data for this type in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MTD-value-shows-last-month-data-because-this-month-there-is-no/m-p/3156097#M113211</link>
    <description>&lt;P&gt;Hi all! I have a problem with the MTD calculation. My data exist of stoptime of the machine due three reasons: "Te laat geleverd", "Te laat besteld" and "niet aanwezig". This month the reason "te laat besteld" didn't occured yet. But in the TOTALMTD calculation PBI shows not 0, but shows the value of last month, 1,96. But this 1,96 is not included in the total calculation in the table:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;8,67+9,29=17,96. So the 1,96 is ignored.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the problem is that PBI shows not a 0, but show the value of last month. Does anyone have an idea how to solve this? Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2023 13:04:11 GMT</pubDate>
    <dc:creator>Crimma</dc:creator>
    <dc:date>2023-03-27T13:04:11Z</dc:date>
    <item>
      <title>MTD value shows last month data because this month there is no data for this type</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MTD-value-shows-last-month-data-because-this-month-there-is-no/m-p/3156097#M113211</link>
      <description>&lt;P&gt;Hi all! I have a problem with the MTD calculation. My data exist of stoptime of the machine due three reasons: "Te laat geleverd", "Te laat besteld" and "niet aanwezig". This month the reason "te laat besteld" didn't occured yet. But in the TOTALMTD calculation PBI shows not 0, but shows the value of last month, 1,96. But this 1,96 is not included in the total calculation in the table:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;8,67+9,29=17,96. So the 1,96 is ignored.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the problem is that PBI shows not a 0, but show the value of last month. Does anyone have an idea how to solve this? Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 13:04:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MTD-value-shows-last-month-data-because-this-month-there-is-no/m-p/3156097#M113211</guid>
      <dc:creator>Crimma</dc:creator>
      <dc:date>2023-03-27T13:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: MTD value shows last month data because this month there is no data for this type</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MTD-value-shows-last-month-data-because-this-month-there-is-no/m-p/3159636#M113425</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="522694" data-lia-user-login="Crimma" class="lia-mention lia-mention-user"&gt;Crimma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please try this measure:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;new_MTD stilstand in uur =
SUMX (
    SUMMARIZE (
        'Table',
        'Table'[Reason],
        "total", [MTD stilstand in uur] 
    ),
    [total]
)&lt;/LI-CODE&gt;
&lt;P&gt;Or&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;New_MTD stilstand in uur = SUMX(VALUES(Table[Reason]), [MTD stilstand in uur])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;If the above one can't help you get the desired result, please provide some&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;sample data&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;in your tables (&lt;/SPAN&gt;&lt;STRONG&gt;exclude&amp;nbsp;sensitive&amp;nbsp;data&lt;/STRONG&gt;&lt;SPAN&gt;) with&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Text&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;format and your&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;expected result&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;with backend logic and special examples.&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;It is better&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;if you can share a&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;simplified&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;pbix file.&amp;nbsp;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can refer to the following documents that may be helpful to you:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/sum-error/td-p/1124331" target="_blank" rel="noopener"&gt;sum error - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376" target="_blank" rel="noopener"&gt;Dealing with Measure Totals - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.enterprisedna.co/fixing-incorrect-totals-using-dax-measures-in-power-bi/" target="_blank" rel="nofollow noopener noreferrer"&gt;Fixing Incorrect Totals Using DAX Measures In Power BI | Enterprise DNA&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://archerpoint.com/how-to-make-measures-total-correctly-in-power-bi-tables/" target="_blank" rel="nofollow noopener noreferrer"&gt;How to Make Measures Total Correctly in Power BI Tables - ArcherPoint&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 02:34:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MTD-value-shows-last-month-data-because-this-month-there-is-no/m-p/3159636#M113425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-29T02:34:04Z</dc:date>
    </item>
  </channel>
</rss>

