<?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 Year-to-date calculation with criteria yielding wrong result in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Year-to-date-calculation-with-criteria-yielding-wrong-result/m-p/3256898#M120301</link>
    <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Basically I'm trying to calculate the sum of acceptedwt for the year to date where sys = 1&lt;BR /&gt;&lt;BR /&gt;Sys1g = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;1000&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Statistics&lt;/SPAN&gt;&lt;SPAN&gt;[acceptedwt]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;Statistics&lt;/SPAN&gt;&lt;SPAN&gt;[sys]&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;YEAR&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Statistics&lt;/SPAN&gt;&lt;SPAN&gt;[STA_PeriodEnd]&lt;/SPAN&gt;&lt;SPAN&gt;=Year(today()&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I think the filtering isn't working the way I want it to work.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sun, 28 May 2023 18:56:11 GMT</pubDate>
    <dc:creator>JimT99</dc:creator>
    <dc:date>2023-05-28T18:56:11Z</dc:date>
    <item>
      <title>Year-to-date calculation with criteria yielding wrong result</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Year-to-date-calculation-with-criteria-yielding-wrong-result/m-p/3256898#M120301</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Basically I'm trying to calculate the sum of acceptedwt for the year to date where sys = 1&lt;BR /&gt;&lt;BR /&gt;Sys1g = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;1000&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Statistics&lt;/SPAN&gt;&lt;SPAN&gt;[acceptedwt]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;Statistics&lt;/SPAN&gt;&lt;SPAN&gt;[sys]&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;YEAR&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Statistics&lt;/SPAN&gt;&lt;SPAN&gt;[STA_PeriodEnd]&lt;/SPAN&gt;&lt;SPAN&gt;=Year(today()&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I think the filtering isn't working the way I want it to work.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 28 May 2023 18:56:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Year-to-date-calculation-with-criteria-yielding-wrong-result/m-p/3256898#M120301</guid>
      <dc:creator>JimT99</dc:creator>
      <dc:date>2023-05-28T18:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Year-to-date calculation with criteria yielding wrong result</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Year-to-date-calculation-with-criteria-yielding-wrong-result/m-p/3256917#M120303</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="384836" data-lia-user-login="JimT99" class="lia-mention lia-mention-user"&gt;JimT99&lt;/a&gt;&amp;nbsp;Try this:&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Better-Year-to-Date-Total/m-p/2875532#M908" target="_blank"&gt;Better Year to Date Total - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;div data-video-id="https://youtu.be/LL_CDYFtgz8" data-video-remote-vid="https://youtu.be/LL_CDYFtgz8" class="lia-video-container lia-media-is-center lia-media-size-medium"&gt;&lt;iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FLL_CDYFtgz8%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DLL_CDYFtgz8&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FLL_CDYFtgz8%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" allowfullscreen="" style="max-width: 100%"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 May 2023 19:28:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Year-to-date-calculation-with-criteria-yielding-wrong-result/m-p/3256917#M120303</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-05-28T19:28:09Z</dc:date>
    </item>
  </channel>
</rss>

