<?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: Calculating continuous MTD when there is no report for a month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-continuous-MTD-when-there-is-no-report-for-a-month/m-p/4074381#M161767</link>
    <description>&lt;P&gt;Thanks for the advise. Turns out it was a relationship issue, Spec Prem Table to Extract Date(datetable) was set to both and not single. Made the changes in the DAX formula and changed relationship to single and works great&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2024 20:56:20 GMT</pubDate>
    <dc:creator>tkaste63</dc:creator>
    <dc:date>2024-08-01T20:56:20Z</dc:date>
    <item>
      <title>Calculating continuous MTD when there is no report for a month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-continuous-MTD-when-there-is-no-report-for-a-month/m-p/4073616#M161738</link>
      <description>&lt;P&gt;Relativley new to Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the quick measure to create a MTD premium&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MTD Net Specific Premium =&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Spec Prem'&lt;/SPAN&gt;&lt;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;Works great except when there is no Extract generated for a month as there was no premium paid so a report( Extract) is not generated for that month&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;How can I get 1/1/24 to show the vaule in 12/1/23 and show the value as of 4/1/24 in both 5/1/24 and 6/1/24.&lt;SPAN&gt;&amp;nbsp;Case reserves can also create the same issue but in the instance shown is does not.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Aug 2024 13:05:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-continuous-MTD-when-there-is-no-report-for-a-month/m-p/4073616#M161738</guid>
      <dc:creator>tkaste63</dc:creator>
      <dc:date>2024-08-01T13:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating continuous MTD when there is no report for a month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-continuous-MTD-when-there-is-no-report-for-a-month/m-p/4073712#M161742</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="666834" data-lia-user-login="tkaste63" class="lia-mention lia-mention-user"&gt;tkaste63&lt;/a&gt;&amp;nbsp;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Create a new Date table in Power BI if you don't already have one.&lt;/P&gt;&lt;P&gt;DateTable =&lt;BR /&gt;ADDCOLUMNS (&lt;BR /&gt;CALENDAR (DATE(2020, 1, 1), DATE(2024, 12, 31)),&lt;BR /&gt;"Year", YEAR([Date]),&lt;BR /&gt;"MonthNumber", MONTH([Date]),&lt;BR /&gt;"MonthName", FORMAT([Date], "MMMM"),&lt;BR /&gt;"YearMonth", FORMAT([Date], "YYYYMM")&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;2. Create your MTD Measure as:&lt;/P&gt;&lt;P&gt;MTD Net Specific Premium =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM('Spec Prem'[Specific Net Premium]),&lt;BR /&gt;FILTER(&lt;BR /&gt;ALL('DateTable'),&lt;BR /&gt;'DateTable'[Date] &amp;lt;= MAX('DateTable'[Date])&lt;BR /&gt;),&lt;BR /&gt;DATESMTD('DateTable'[Date])&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make sure your Spec Prem table has a relationship with your new DateTable based on the appropriate date columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BBF&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 13:49:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-continuous-MTD-when-there-is-no-report-for-a-month/m-p/4073712#M161742</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2024-08-01T13:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating continuous MTD when there is no report for a month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-continuous-MTD-when-there-is-no-report-for-a-month/m-p/4074381#M161767</link>
      <description>&lt;P&gt;Thanks for the advise. Turns out it was a relationship issue, Spec Prem Table to Extract Date(datetable) was set to both and not single. Made the changes in the DAX formula and changed relationship to single and works great&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 20:56:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-continuous-MTD-when-there-is-no-report-for-a-month/m-p/4074381#M161767</guid>
      <dc:creator>tkaste63</dc:creator>
      <dc:date>2024-08-01T20:56:20Z</dc:date>
    </item>
  </channel>
</rss>

