<?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: Cumulative Percentage Total By Fiscal Week in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2784294#M87203</link>
    <description>&lt;P&gt;Bump anyone?&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2022 14:31:52 GMT</pubDate>
    <dc:creator>romoguy15</dc:creator>
    <dc:date>2022-09-21T14:31:52Z</dc:date>
    <item>
      <title>Cumulative Percentage Total By Fiscal Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2756040#M85218</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been spending some time searching the forums to try and see if I can figure out a solution to give me a culutative percentage by fiscal week. In my calculation, I am unable to identify all the weeks to be able to divide my cumulative terms.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To give a bit of context, in order to get an annualized terms %, I have to take ( total terms / current week ) * 52weeksinyear / Avg Head Count. In my calculation below, I've tried and was able to get a cumulative total for the terms and my cumulative avg head count. The issue I am running into, is my VAR for Current week is only able to identify the actual current week. I would like to be able to divide the&amp;nbsp; [Terms Cumulative Total] week by week&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have uploaded a sample file for this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!AqID1H0nHPOzhBPUVCHQy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&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;CurrentWeek&lt;/SPAN&gt;&lt;SPAN&gt;) * &lt;/SPAN&gt;&lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;52&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;[SUM Of Average Head Count By DC Cumulative Total]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Sep 2022 16:23:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2756040#M85218</guid>
      <dc:creator>romoguy15</dc:creator>
      <dc:date>2022-09-09T16:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Percentage Total By Fiscal Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2757919#M85349</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="247766" data-lia-user-login="romoguy15" class="lia-mention lia-mention-user"&gt;romoguy15&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not very clear. Can you explain bit more?&lt;BR /&gt;Sample data and expected result will make it easier for us to understand and&amp;nbsp; solve your problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Eason&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 10:12:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2757919#M85349</guid>
      <dc:creator>v-easonf-msft</dc:creator>
      <dc:date>2022-09-09T10:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Percentage Total By Fiscal Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2758727#M85423</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="192401" data-lia-user-login="v-easonf-msft" class="lia-mention lia-mention-user"&gt;v-easonf-msft&lt;/a&gt;&amp;nbsp; I have tried my best to upload a sample file with what I am trying to achieve with the calculation. I understand it can be quite compliacted to try and decipher what i'm trying to do. Basically my problem in my Percentage calculation is I don't know how to identify row by row the week number to divide it by in order to get a cumulative percentage total week by week&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://1drv.ms/u/s!AqID1H0nHPOzhBPUVCHQy_avV8-r?e=htQs8T" target="_blank" rel="noopener"&gt;https://1drv.ms/u/s!AqID1H0nHPOzhBPUVCHQy_avV8-r?e=htQs8T&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 16:51:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2758727#M85423</guid>
      <dc:creator>romoguy15</dc:creator>
      <dc:date>2022-09-09T16:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Percentage Total By Fiscal Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2767927#M86035</link>
      <description>&lt;P&gt;Bumping this up. Any possible ideas on how to achieve this?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 16:46:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2767927#M86035</guid>
      <dc:creator>romoguy15</dc:creator>
      <dc:date>2022-09-14T16:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Percentage Total By Fiscal Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2773954#M86486</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="192401" data-lia-user-login="v-easonf-msft" class="lia-mention lia-mention-user"&gt;v-easonf-msft&lt;/a&gt;&amp;nbsp;, any thoughts?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 15:28:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2773954#M86486</guid>
      <dc:creator>romoguy15</dc:creator>
      <dc:date>2022-09-16T15:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Percentage Total By Fiscal Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2784294#M87203</link>
      <description>&lt;P&gt;Bump anyone?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 14:31:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2784294#M87203</guid>
      <dc:creator>romoguy15</dc:creator>
      <dc:date>2022-09-21T14:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Percentage Total By Fiscal Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2803555#M88310</link>
      <description>&lt;P&gt;I figured out a portion of this formula.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed my VAR week formula from&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CurrentWeek&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;MAXX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;TODAY&lt;/SPAN&gt;&lt;SPAN&gt;()),&lt;/SPAN&gt;&lt;SPAN&gt;[Fiscal Week]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;-&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;to using selectedvalue in the fiscal calendar to let it iterated by each week number like this&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt; FiscalWeek = &lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;('Calendar'[Fiscal Week])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The only other problem in my formula is my [SUM Of Average Head Count By DC Cumulative Total] calculation.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I removed that from the whole formula and isolated it with a fixed number and everything worked perfectly. I can't seem to figure out how to summarize this by DC and by Fiscal Week in my calendar.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Sep 2022 17:00:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2803555#M88310</guid>
      <dc:creator>romoguy15</dc:creator>
      <dc:date>2022-09-28T17:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Percentage Total By Fiscal Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2803607#M88314</link>
      <description>&lt;P&gt;I basically have to figure out how to sum the average by DC and by Fiscal Week&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUM Of The Average Head Count By DC = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUMMARIZE&lt;/SPAN&gt;&lt;SPAN&gt;('Head Count', 'Head Count'[Cost Center], &lt;/SPAN&gt;&lt;SPAN&gt;"Avg Head Count By DC"&lt;/SPAN&gt;&lt;SPAN&gt;, [Avg Head Count]), [Avg Head Count By DC]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I don't know how to incororate the fiscal in there.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Sep 2022 17:18:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2803607#M88314</guid>
      <dc:creator>romoguy15</dc:creator>
      <dc:date>2022-09-28T17:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Percentage Total By Fiscal Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2807251#M88649</link>
      <description>&lt;P&gt;I have solved my own issue. Switching my variable in the forumla using selectedvalue for the fiscal week worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;FiscalWeek =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;('Calendar'[Fiscal Week]) worked to evaluate by each week week number in the table.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 20:48:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Percentage-Total-By-Fiscal-Week/m-p/2807251#M88649</guid>
      <dc:creator>romoguy15</dc:creator>
      <dc:date>2022-09-29T20:48:30Z</dc:date>
    </item>
  </channel>
</rss>

