<?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 Week on Week Actual Variance + with Forecast Variance in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Week-on-Week-Actual-Variance-with-Forecast-Variance/m-p/2403400#M63006</link>
    <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have data which gets updated on weekly basis, So source file has Week column under that every week data gets updated. For Ex: 07 March week(Previous Week) will have some customer revenue and 14 March week (Current Week) will have updated revenue details and these two details under same column under the header of Week, so how do I find the variance between two weeks?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i try to go for measure, it is not recognizing any table so that I can find the variance and additionally once I have the variance for the above two, I need to find the variance between Current Week vs Forecasted revenue for the month (which is constant figure).&lt;/P&gt;&lt;P&gt;Also, in the picture Week 7 &amp;amp; 14 is coming in the same column, how we can show week 7 &amp;amp; 14 in seperate column?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know how I can approach this? Maybe i can share file. Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Mar 2022 13:55:59 GMT</pubDate>
    <dc:creator>pupadhya</dc:creator>
    <dc:date>2022-03-18T13:55:59Z</dc:date>
    <item>
      <title>Week on Week Actual Variance + with Forecast Variance</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Week-on-Week-Actual-Variance-with-Forecast-Variance/m-p/2403400#M63006</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have data which gets updated on weekly basis, So source file has Week column under that every week data gets updated. For Ex: 07 March week(Previous Week) will have some customer revenue and 14 March week (Current Week) will have updated revenue details and these two details under same column under the header of Week, so how do I find the variance between two weeks?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i try to go for measure, it is not recognizing any table so that I can find the variance and additionally once I have the variance for the above two, I need to find the variance between Current Week vs Forecasted revenue for the month (which is constant figure).&lt;/P&gt;&lt;P&gt;Also, in the picture Week 7 &amp;amp; 14 is coming in the same column, how we can show week 7 &amp;amp; 14 in seperate column?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know how I can approach this? Maybe i can share file. Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 13:55:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Week-on-Week-Actual-Variance-with-Forecast-Variance/m-p/2403400#M63006</guid>
      <dc:creator>pupadhya</dc:creator>
      <dc:date>2022-03-18T13:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Week on Week Actual Variance + with Forecast Variance</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Week-on-Week-Actual-Variance-with-Forecast-Variance/m-p/2404265#M63067</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="368896" data-lia-user-login="pupadhya" class="lia-mention lia-mention-user"&gt;pupadhya&lt;/a&gt; , Create a new table with distinct of this column( If there is year take that) &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Distinct(Table[Day])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or have table with week year&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a rank of Day oe week year in new table , new column&lt;/P&gt;
&lt;P&gt;Week Rank = RANKX(all('Date'),'Date'[Day],,ASC,Dense)&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;Week Rank = RANKX(all('Date'),'Date'[Year Week],,ASC,Dense) //YYYYWW format &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then try measures&amp;nbsp; like &lt;BR /&gt;This Week = CALCULATE(sum('Table'[Qty]), FILTER(ALL('Date'),'Date'[Week Rank]=max('Date'[Week Rank])))&lt;BR /&gt;Last Week = CALCULATE(sum('Table'[Qty]), FILTER(ALL('Date'),'Date'[Week Rank]=max('Date'[Week Rank])-1))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power BI — Week on Week and WTD &lt;BR /&gt;&lt;A href="https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3" target="_blank"&gt;https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-Last-Week/ba-p/1051123" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-Last-Week/ba-p/1051123&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=pnAesWxYgJ8" target="_blank"&gt;https://www.youtube.com/watch?v=pnAesWxYgJ8&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Mar 2022 04:25:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Week-on-Week-Actual-Variance-with-Forecast-Variance/m-p/2404265#M63067</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-03-19T04:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Week on Week Actual Variance + with Forecast Variance</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Week-on-Week-Actual-Variance-with-Forecast-Variance/m-p/2408684#M63336</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="368896" data-lia-user-login="pupadhya" class="lia-mention lia-mention-user"&gt;pupadhya&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="background: white; margin: 7.5pt 0in .0001pt 0in;"&gt;&lt;SPAN&gt;I just want to confirm if you resolved this issue? If yes,&amp;nbsp;&lt;U&gt;you can accept the answer helpful as the solution&lt;/U&gt;&amp;nbsp;&lt;STRONG&gt;or&lt;/STRONG&gt;&amp;nbsp;&lt;U&gt;share you method and accept it as solution&lt;/U&gt;, thanks for your contribution to improve Power BI.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 7.5pt 0in .0001pt 0in;"&gt;&lt;STRONG&gt;&lt;SPAN&gt;If you need more help, please let me know.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 7.5pt 0in .0001pt 0in;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 7.5pt 0in .0001pt 0in;"&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 7.5pt 0in .0001pt 0in;"&gt;&lt;SPAN&gt;Community Support Team _Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 7.5pt 0in .0001pt 0in;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 07:48:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Week-on-Week-Actual-Variance-with-Forecast-Variance/m-p/2408684#M63336</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-03-22T07:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Week on Week Actual Variance + with Forecast Variance</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Week-on-Week-Actual-Variance-with-Forecast-Variance/m-p/5230985#M188231</link>
      <description>&lt;P class=""&gt;The issue is that using Week as a text/number column without a proper Date table means DATEADD and PREVIOUSWEEK don't work. The fix is to use FILTER + ALL against the Week column directly:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;Prev Week Revenue =&lt;BR /&gt;VAR _currentWeek = MAX(Table[Week])&lt;BR /&gt;RETURN&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM(Table[Revenue]),&lt;BR /&gt;ALL(Table[Week]),&lt;BR /&gt;Table[Week] = _currentWeek - 1&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;WoW Variance =&lt;BR /&gt;DIVIDE([Revenue] - [Prev Week Revenue], ABS([Prev Week Revenue]))&lt;/P&gt;&lt;PRE&gt; &lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class=""&gt;This bypasses the Date table requirement entirely&amp;nbsp; works directly with your Week number column.&lt;/P&gt;&lt;P class=""&gt;For teams where weekly reporting spans multiple metrics (revenue + units + margin), each metric needs this pattern duplicated. &lt;STRONG&gt;Flexa Tables&lt;/STRONG&gt; on AppSource handles WoW as a built-in column&amp;nbsp; select the two weeks to compare directly in the published report&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2026 03:35:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Week-on-Week-Actual-Variance-with-Forecast-Variance/m-p/5230985#M188231</guid>
      <dc:creator>PBIdashboards</dc:creator>
      <dc:date>2026-06-24T03:35:03Z</dc:date>
    </item>
  </channel>
</rss>

