<?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: Dax to crack scenario - previous row and apply results in same row in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-crack-scenario-previous-row-and-apply-results-in-same-row/m-p/2838629#M90650</link>
    <description>&lt;P&gt;lookupvalue use index-1 to get pervious row&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 06:56:47 GMT</pubDate>
    <dc:creator>RichardOfSydney</dc:creator>
    <dc:date>2022-10-13T06:56:47Z</dc:date>
    <item>
      <title>Dax to crack scenario - previous row and apply results in same row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-crack-scenario-previous-row-and-apply-results-in-same-row/m-p/2838530#M90643</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;We have a scenario where we need to loop the calculation in same column. Following is the sample data:&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Result&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;Result&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;Result&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;Result&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;The column C will have only first row filled and here its 3.&lt;/P&gt;&lt;P&gt;The below rows for column C is as follows:&lt;/P&gt;&lt;P&gt;Value of Previour row in Column C +Current row of Column A - Current row of Column B&lt;/P&gt;&lt;P&gt;ie to get 2nd row = 3+5-6 = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; to get 3rd row = 2+9-3 = 8&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; to get 4th row =8+1 -3 =6&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; to get 5th row = 6+4-5 = 5&lt;/P&gt;&lt;P&gt;Kindly advice me to crack this.&lt;BR /&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 06:25:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-crack-scenario-previous-row-and-apply-results-in-same-row/m-p/2838530#M90643</guid>
      <dc:creator>msbiuser1</dc:creator>
      <dc:date>2022-10-13T06:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to crack scenario - previous row and apply results in same row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-crack-scenario-previous-row-and-apply-results-in-same-row/m-p/2838574#M90646</link>
      <description>&lt;P&gt;you will need an index column , use that to find the previous row.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 06:41:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-crack-scenario-previous-row-and-apply-results-in-same-row/m-p/2838574#M90646</guid>
      <dc:creator>RichardOfSydney</dc:creator>
      <dc:date>2022-10-13T06:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to crack scenario - previous row and apply results in same row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-crack-scenario-previous-row-and-apply-results-in-same-row/m-p/2838612#M90649</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I did that. Was able to bring 3 in second row. But how to handle for remaining rows.There we get blanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 06:51:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-crack-scenario-previous-row-and-apply-results-in-same-row/m-p/2838612#M90649</guid>
      <dc:creator>msbiuser1</dc:creator>
      <dc:date>2022-10-13T06:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to crack scenario - previous row and apply results in same row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-crack-scenario-previous-row-and-apply-results-in-same-row/m-p/2838629#M90650</link>
      <description>&lt;P&gt;lookupvalue use index-1 to get pervious row&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 06:56:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-crack-scenario-previous-row-and-apply-results-in-same-row/m-p/2838629#M90650</guid>
      <dc:creator>RichardOfSydney</dc:creator>
      <dc:date>2022-10-13T06:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to crack scenario - previous row and apply results in same row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-crack-scenario-previous-row-and-apply-results-in-same-row/m-p/2838654#M90653</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Really appreciate if you can guide us with measure&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 12:50:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-crack-scenario-previous-row-and-apply-results-in-same-row/m-p/2838654#M90653</guid>
      <dc:creator>msbiuser1</dc:creator>
      <dc:date>2022-10-13T12:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to crack scenario - previous row and apply results in same row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-crack-scenario-previous-row-and-apply-results-in-same-row/m-p/2839616#M90694</link>
      <description>&lt;P&gt;Hi its tricky and here are the results:&lt;/P&gt;&lt;P&gt;We have to split into 3 measures:&lt;/P&gt;&lt;P&gt;m1 : get that 3 in all rows in a column&lt;/P&gt;&lt;P&gt;m2: get a column with column A minus B where sheet C has blank&lt;/P&gt;&lt;P&gt;m3: now add m1 +m2 You get the results as desired.&lt;/P&gt;&lt;P&gt;m1 m2&amp;nbsp; m3&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; -1&amp;nbsp; &amp;nbsp; 2&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; 5&amp;nbsp; &amp;nbsp; &amp;nbsp;8&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; 3&amp;nbsp; &amp;nbsp; &amp;nbsp;6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 12:12:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-crack-scenario-previous-row-and-apply-results-in-same-row/m-p/2839616#M90694</guid>
      <dc:creator>saravanan_p</dc:creator>
      <dc:date>2022-10-13T12:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to crack scenario - previous row and apply results in same row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-crack-scenario-previous-row-and-apply-results-in-same-row/m-p/2839619#M90695</link>
      <description>&lt;P&gt;It doesnt work brother. If works update the dax. Let us know&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 12:12:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-crack-scenario-previous-row-and-apply-results-in-same-row/m-p/2839619#M90695</guid>
      <dc:creator>saravanan_p</dc:creator>
      <dc:date>2022-10-13T12:12:47Z</dc:date>
    </item>
  </channel>
</rss>

