<?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: Referring Same Column - Previous Value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4748550#M181838</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1278729" data-lia-user-login="Sandeep_1992" class="lia-mention lia-mention-user"&gt;Sandeep_1992&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your issue has been resolved, please consider marking the most helpful reply as the &lt;STRONG&gt;accepted solution&lt;/STRONG&gt;. This helps other community members who may encounter the same issue to find answers more efficiently.&lt;/P&gt;
&lt;P&gt;If you're still facing challenges, feel free to let us know we’ll be glad to assist you further.&lt;/P&gt;
&lt;P&gt;Looking forward to your response.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Best regards,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LakshmiNarayana.&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jun 2025 13:00:37 GMT</pubDate>
    <dc:creator>v-lgarikapat</dc:creator>
    <dc:date>2025-06-30T13:00:37Z</dc:date>
    <item>
      <title>Referring Same Column - Previous Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4744538#M181664</link>
      <description>&lt;P&gt;Hi Everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question : Can we refer to same column previous value in power bi calculated column ?&amp;nbsp;Like in excel if i need to calculate a cell value i can refer to the cell value above and calculate the function is it possible here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to do it gives me circular dependency if i refer same column&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Situation : I have these colums below - I need calculate if date is equals today then its value from a measure if date is &amp;gt; today then its should multiply same column previous value with ( Cycle time - 1) /(Cycle time+(New Offer - Amount - Column 1) )eg: Hot Leads Amount S. no one answer is equal to today date then it would be 66. but, Hot Leads S.No 2 - as its greater then today it should calculate HotLeads_Amount S.No 1 * 3 -1/ 3+New Offer_ Amount S.No&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Hot Leads&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;New Offer&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;S.No&lt;/TD&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Offer&lt;/TD&gt;&lt;TD&gt;Amount&lt;/TD&gt;&lt;TD&gt;Offer&lt;/TD&gt;&lt;TD&gt;Amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;26.06.2025&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;49000&lt;/TD&gt;&lt;TD&gt;99&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;26.06.2025&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;49000&lt;/TD&gt;&lt;TD&gt;98&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;26.06.2025&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;49000&lt;/TD&gt;&lt;TD&gt;97&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;26.06.2025&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;30500&lt;/TD&gt;&lt;TD&gt;96&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;26.06.2025&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;30500&lt;/TD&gt;&lt;TD&gt;94&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;26.06.2025&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;30500&lt;/TD&gt;&lt;TD&gt;96&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 26 Jun 2025 06:31:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4744538#M181664</guid>
      <dc:creator>Sandeep_1992</dc:creator>
      <dc:date>2025-06-26T06:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Referring Same Column - Previous Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4744707#M181672</link>
      <description>&lt;P&gt;It is possible to do this but your message in unclear to me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cycle time and Column 1 are not in the table you provided and the description is difficult to understand&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pls provide all the tables and columns, including dates before and after today, and include examples of the calculation result you are looking for writing that in a more extensive way so I can help better and provide the answer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 08:27:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4744707#M181672</guid>
      <dc:creator>FBergamaschi</dc:creator>
      <dc:date>2025-06-26T08:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Referring Same Column - Previous Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4744723#M181674</link>
      <description>&lt;P&gt;Column 1 = which i mentioned is in the NewOffer_Amount S.no 1 as Column 1 the value is 99&lt;/P&gt;&lt;P&gt;Cycle time = I dont have in the table its a static input like 3 months or 6 months i can be changed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below excel snapshot i want to build that in power bi - the formula i want is =&amp;nbsp;=IF(AND(D24=$H$6;E24=$H$7);'ST'!$T$88;IF(OR(D24&amp;gt;$H$6;E24&amp;gt;$H$7);N23*($I$10-1)/$I$10+P23;0))&lt;/P&gt;&lt;P&gt;D24 = Month&lt;/P&gt;&lt;P&gt;E24 = Month&lt;/P&gt;&lt;P&gt;ST T88 - I have a measure which gives this value lets say it 66&lt;/P&gt;&lt;P&gt;N23 = Same Column above row ( For eg:- I'm calculating n24 its n23, n25 then its n24)&lt;/P&gt;&lt;P&gt;I10 = Cycle time, which is again a measure value i want to add&amp;nbsp;&lt;/P&gt;&lt;P&gt;p23 = last column in the excel newly generated per month fields - Amount Column ( This value also to be takne previous cell like for N24 it should take p23)&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;</description>
      <pubDate>Thu, 26 Jun 2025 08:48:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4744723#M181674</guid>
      <dc:creator>Sandeep_1992</dc:creator>
      <dc:date>2025-06-26T08:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Referring Same Column - Previous Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4744896#M181679</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1278729" data-lia-user-login="Sandeep_1992" class="lia-mention lia-mention-user"&gt;Sandeep_1992&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Microsoft fabric community forum&lt;/P&gt;
&lt;P data-start="64" data-end="128"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="130" data-end="178"&gt;To help us understand your issue better, please share sample data that clearly shows the problem (in text or table format, not a screenshot), without including any sensitive or unrelated information, and also show the expected result based on that data. If possible, share the PBIX file as well, provided it doesn’t contain any sensitive information.&lt;/P&gt;
&lt;P data-start="130" data-end="178"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="130" data-end="178"&gt;Looking forward to your response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Best Regards,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Lakshmi Narayana&lt;/STRONG&gt;&lt;/P&gt;
&lt;P data-start="556" data-end="633"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 10:49:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4744896#M181679</guid>
      <dc:creator>v-lgarikapat</dc:creator>
      <dc:date>2025-06-26T10:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Referring Same Column - Previous Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4745182#M181697</link>
      <description>&lt;P&gt;If you copy and paste the table here so I can copy and put iit in power BI I can try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not pictures, copy the table in such a way I can use it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;FB&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 13:22:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4745182#M181697</guid>
      <dc:creator>FBergamaschi</dc:creator>
      <dc:date>2025-06-26T13:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Referring Same Column - Previous Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4748550#M181838</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1278729" data-lia-user-login="Sandeep_1992" class="lia-mention lia-mention-user"&gt;Sandeep_1992&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your issue has been resolved, please consider marking the most helpful reply as the &lt;STRONG&gt;accepted solution&lt;/STRONG&gt;. This helps other community members who may encounter the same issue to find answers more efficiently.&lt;/P&gt;
&lt;P&gt;If you're still facing challenges, feel free to let us know we’ll be glad to assist you further.&lt;/P&gt;
&lt;P&gt;Looking forward to your response.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Best regards,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LakshmiNarayana.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 13:00:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4748550#M181838</guid>
      <dc:creator>v-lgarikapat</dc:creator>
      <dc:date>2025-06-30T13:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Referring Same Column - Previous Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4752102#M181944</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1278729" data-lia-user-login="Sandeep_1992" class="lia-mention lia-mention-user"&gt;Sandeep_1992&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If your issue has been resolved, please consider marking the most helpful reply as the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;accepted solution&lt;/STRONG&gt;. This helps other community members who may encounter the same issue to find answers more efficiently.&lt;/P&gt;
&lt;P&gt;If you're still facing challenges, feel free to let us know we’ll be glad to assist you further.&lt;/P&gt;
&lt;P&gt;Looking forward to your response.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Best regards,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LakshmiNarayana.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 10:45:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4752102#M181944</guid>
      <dc:creator>v-lgarikapat</dc:creator>
      <dc:date>2025-07-03T10:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Referring Same Column - Previous Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4753715#M181999</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1278729" data-lia-user-login="Sandeep_1992" class="lia-mention lia-mention-user"&gt;Sandeep_1992&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-pm-slice="0 0 []"&gt;In Power BI, when you try to create a table that simulates incremental changes (like ±5 steps) of a measure such as [Cost], it's important that the measure respects the filters applied in the report—especially date filters. In your original DAX expression, you define BaseCost as a variable outside of the row context of the ADDCOLUMNS function. This causes [Cost] to be evaluated once in a broader context, ignoring any filters such as dates selected by the user. As a result, the simulated cost values remain static regardless of the date slicer changes. To make the [Cost] measure respond to filters like dates, you need to calculate it inside the row context of the virtual table. This can be done by using the CALCULATE function within ADDCOLUMNS, which re-evaluates the [Cost] measure in the context of each row generated by GENERATESERIES. By moving the measure calculation inside and wrapping it with CALCULATE, you ensure that each simulated cost dynamically reflects the correct value according to the current report filters. This makes your simulation accurate and interactive, adjusting properly as users apply slicers or filters to the visual.&lt;/P&gt;
&lt;P data-pm-slice="0 0 []"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 05:36:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4753715#M181999</guid>
      <dc:creator>Poojara_D12</dc:creator>
      <dc:date>2025-07-05T05:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Referring Same Column - Previous Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4754733#M182051</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1278729" data-lia-user-login="Sandeep_1992" class="lia-mention lia-mention-user"&gt;Sandeep_1992&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;As we haven't heard back from you, we are closing this thread. If you are still experiencing the issue, please feel free to create a new thread we’ll be happy to assist you further.&lt;/P&gt;
&lt;P&gt;Thank you for your patience and support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Best Regards,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Lakshmi Narayana&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 07:22:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Referring-Same-Column-Previous-Value/m-p/4754733#M182051</guid>
      <dc:creator>v-lgarikapat</dc:creator>
      <dc:date>2025-07-07T07:22:40Z</dc:date>
    </item>
  </channel>
</rss>

