<?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: Prorated Monthly Target from Lump Yearly Target in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Prorated-Monthly-Target-from-Lump-Yearly-Target/m-p/2753772#M85041</link>
    <description>&lt;P&gt;Create a table with a day-granularity instead of month and distribute the values across days. If you then mark your days with a column that tells you which day is in the past (+present) and which is in the future, you'll be able to slice by this "timeslice" and you'll get what you want for the very latest month.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Sep 2022 18:49:42 GMT</pubDate>
    <dc:creator>daXtreme</dc:creator>
    <dc:date>2022-09-07T18:49:42Z</dc:date>
    <item>
      <title>Prorated Monthly Target from Lump Yearly Target</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Prorated-Monthly-Target-from-Lump-Yearly-Target/m-p/2753223#M84995</link>
      <description>&lt;P&gt;I have a yearly target that I distribute into a monthly cumulative target. I'm using a matrix that resets once a year, and just uses Jan-Dec as columns. Currently looks like this&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The code is this:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MonthlySalesTargetEven = (sum(Salesjoin[Forecast2022])/12)* max(MonthIndexOrder[Index])&lt;/LI-CODE&gt;&lt;P&gt;The Forecast2022 table just assigns lump yearly numbers to associates. This is MonthIndexOrder:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this code currently assigns all of the current month target (as of right now, September) as soon as there is data for the month, but obviously the actuals are coming in daily, so there's a huge gap until the end of the month.&lt;/P&gt;&lt;P&gt;How do I get the monthly targets to distribute as above, with the current month's value prorated based on what day of of the month it is?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 13:21:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Prorated-Monthly-Target-from-Lump-Yearly-Target/m-p/2753223#M84995</guid>
      <dc:creator>Brotedo</dc:creator>
      <dc:date>2022-09-07T13:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Prorated Monthly Target from Lump Yearly Target</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Prorated-Monthly-Target-from-Lump-Yearly-Target/m-p/2753772#M85041</link>
      <description>&lt;P&gt;Create a table with a day-granularity instead of month and distribute the values across days. If you then mark your days with a column that tells you which day is in the past (+present) and which is in the future, you'll be able to slice by this "timeslice" and you'll get what you want for the very latest month.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 18:49:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Prorated-Monthly-Target-from-Lump-Yearly-Target/m-p/2753772#M85041</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-09-07T18:49:42Z</dc:date>
    </item>
  </channel>
</rss>

