<?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: Pro rate monthly amounts over fiscal weeks in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Pro-rate-monthly-amounts-over-fiscal-weeks/m-p/3843077#M150242</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="354807" data-lia-user-login="watje255_ju" class="lia-mention lia-mention-user"&gt;watje255_ju&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I create a table as you mentioned.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then I get an Index column and create a new calculated column.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column =
VAR _Current = 'Table'[Fiscal Week2]
RETURN
    CALCULATE (
        MAX ( 'Table'[Monthly Allocation] ),
        FILTER ( ALL ( 'Table' ), 'Table'[Fiscal Week2] = _Current )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;When I Put it into the Stacked column chart, you will get what you want.&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 style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2024 02:27:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-04-17T02:27:12Z</dc:date>
    <item>
      <title>Pro rate monthly amounts over fiscal weeks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Pro-rate-monthly-amounts-over-fiscal-weeks/m-p/3842832#M150232</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a monthly forecast that is entered on the first/second day of the month, and I want to count the number of fiscal months in that month, pro rata the total amount, and then graph that pro rata'd amount over each fiscal week in that month so we can compare with weekly sales.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see link to PBIX file&amp;nbsp;&lt;A href="https://1drv.ms/u/s!As8wMr9_bgGrhBT9fcG01myrR8pz?e=bOE7gg" target="_blank"&gt;Monthly Allocation Test.pbix&lt;/A&gt; and the desired result screenshot of the table below for the first few months&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 00:09:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Pro-rate-monthly-amounts-over-fiscal-weeks/m-p/3842832#M150232</guid>
      <dc:creator>watje255_ju</dc:creator>
      <dc:date>2024-04-17T00:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pro rate monthly amounts over fiscal weeks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Pro-rate-monthly-amounts-over-fiscal-weeks/m-p/3843077#M150242</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="354807" data-lia-user-login="watje255_ju" class="lia-mention lia-mention-user"&gt;watje255_ju&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I create a table as you mentioned.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then I get an Index column and create a new calculated column.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column =
VAR _Current = 'Table'[Fiscal Week2]
RETURN
    CALCULATE (
        MAX ( 'Table'[Monthly Allocation] ),
        FILTER ( ALL ( 'Table' ), 'Table'[Fiscal Week2] = _Current )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;When I Put it into the Stacked column chart, you will get what you want.&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 style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 02:27:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Pro-rate-monthly-amounts-over-fiscal-weeks/m-p/3843077#M150242</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-17T02:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Pro rate monthly amounts over fiscal weeks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Pro-rate-monthly-amounts-over-fiscal-weeks/m-p/3843101#M150244</link>
      <description>&lt;P&gt;Hi Yilong Zhou, thanks so much for your reply. The picture of the table and graph i showed was the desired solution, using the dataset in the PBIX file/model&amp;nbsp; I sent a link to in the original post - the dataset looks like the below. Thanks!&amp;nbsp;&amp;nbsp;&lt;A href="https://1drv.ms/u/s!As8wMr9_bgGrhBT9fcG01myrR8pz?e=bOE7gg" target="_blank" rel="nofollow noopener noreferrer"&gt;Monthly Allocation Test.pbix&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 02:39:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Pro-rate-monthly-amounts-over-fiscal-weeks/m-p/3843101#M150244</guid>
      <dc:creator>watje255_ju</dc:creator>
      <dc:date>2024-04-17T02:39:10Z</dc:date>
    </item>
  </channel>
</rss>

