<?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: RE: Shifting of Return Values One Row Above in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2925860#M96109</link>
    <description>&lt;P&gt;I tried the modification of formula that you mentioned and nothing seemed to have changed on the screen &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Nov 2022 03:24:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-11-24T03:24:31Z</dc:date>
    <item>
      <title>RE: Shifting of Return Values One Row Above</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2923883#M95951</link>
      <description>&lt;P&gt;Dear all,&lt;BR /&gt;I would like to enquire on how I can modify the following formula such that the returning values under, "Rolling 30 Mean" can be shown one row above? (Example: Index 3 is supposed to have the value of, "5.00" under the column, "Rolling 30 Mean", etc but has to appear as the first row in the Table).&lt;BR /&gt;&lt;BR /&gt;Any help is much appreciated deeply as I have been stuck for quite a while.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;- Kylx&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 01:46:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2923883#M95951</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-24T01:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Shifting of Return Values One Row Above</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2923915#M95955</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Use all in place allselected. Make sure this index and week are part of separate table&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;check this example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Last 4 weeks = CALCULATE(Averagex(Values('Date'[Week Rank]), [measure]), FILTER(ALL('Date'),'Date'[Week Rank]&amp;gt;=max('Date'[Week Rank])-4 &amp;amp;&amp;amp; 'Date'[Week Rank]&amp;lt;=max('Date'[Week Rank])))&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 09:17:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2923915#M95955</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-11-23T09:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Shifting of Return Values One Row Above</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2925596#M96089</link>
      <description>&lt;P&gt;Dear Mr&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;I have tried out the solution that you have proposed but the return values would've changed or that the values under the, "Rolling 30 Mean" does not shift upwards as per expected. Thank you for taking the time out to suggest a solution for me nonetheless.&lt;/P&gt;&lt;P&gt;- Kylx&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 01:29:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2925596#M96089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-24T01:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Shifting of Return Values One Row Above</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2925785#M96101</link>
      <description>&lt;P&gt;don't understand this part "&lt;SPAN&gt;Index 3 is supposed to have the value of, "5.00" under the column, "Rolling 30 Mean", etc but has to appear as the first row in the Table).&lt;/SPAN&gt;". Which number do you expect for Index 3?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 02:48:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2925785#M96101</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-11-24T02:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Shifting of Return Values One Row Above</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2925791#M96103</link>
      <description>&lt;P&gt;According to the images, the first row in the Table is Index 2 but I do not want that shown. Hence, Index 3 is supposed to be the first row in the Table seen and the value under, "Rolling 30 Mean" is 5.00. I hope this clarifies.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 02:51:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2925791#M96103</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-24T02:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Shifting of Return Values One Row Above</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2925798#M96105</link>
      <description>&lt;P&gt;Aha, it looks like a table visual, you can choose not to show Index 2 on the filter pane, or?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 02:54:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2925798#M96105</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-11-24T02:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Shifting of Return Values One Row Above</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2925812#M96106</link>
      <description>&lt;P&gt;That is one of the ways that I can hide Index 2's row but the Table visual will show Index 3's Rolling 30 Mean as 2.00 instead of 5.00 and that's the issue I'm facing right now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 02:57:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2925812#M96106</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-24T02:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Shifting of Return Values One Row Above</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2925830#M96108</link>
      <description>&lt;P&gt;aha, then try to replace&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;DIV&gt;VAR _MinIndex = _Index - 30&lt;DIV&gt;&amp;nbsp;&lt;DIV&gt;with&amp;nbsp;&lt;DIV&gt;&amp;nbsp;&lt;DIV&gt;VAR _MinIndex = MIN( _Index - 30, 3)&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Nov 2022 03:07:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2925830#M96108</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-11-24T03:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Shifting of Return Values One Row Above</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2925860#M96109</link>
      <description>&lt;P&gt;I tried the modification of formula that you mentioned and nothing seemed to have changed on the screen &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 03:24:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2925860#M96109</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-24T03:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Shifting of Return Values One Row Above</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2925897#M96113</link>
      <description>&lt;P&gt;That formula changes all values under the, "Rolling 30 Mean" column which becomes incorrect and the starting index becomes 4 instead of 3.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 04:03:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2925897#M96113</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-24T04:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Shifting of Return Values One Row Above</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2934888#M96652</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Current power bi data model table does not include row and column index, so it does not support recursive calculations similar like excel expression.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If you want to iterator the previous result, you need to get the previous row index at the first. Then you can use all function to ignore the current filters, manually use index to find out previous field values to reproduce the previous filter and use them as conditions in calculations expressions.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 07:42:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2934888#M96652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-29T07:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Shifting of Return Values One Row Above</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2934988#M96660</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thank you for taking the time to reply to my query. I was able to adapt an alternative sample measure which turns out to be what I needed from&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;'s query that was posted from 2-3 years ago. Hence, the issue in this post is solved already.&lt;BR /&gt;- KylxT&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 08:19:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RE-Shifting-of-Return-Values-One-Row-Above/m-p/2934988#M96660</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-29T08:19:09Z</dc:date>
    </item>
  </channel>
</rss>

