<?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 Using DAX Loops - Can it work for this? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-DAX-Loops-Can-it-work-for-this/m-p/1629913#M33021</link>
    <description>&lt;P&gt;I'm trying to create a table visual (as below), where I can specify the starting point, and then use the output from the previous month to calculate the output for the next, and so on. I'll try to explain the best way I can.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm staring with the value for 1081 for 12/31/2019 (that is a static value). I then want to take that value and use it in a calculation for the next month(s) output.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Jan2020: 1081+341-453 = 969&lt;/P&gt;&lt;P&gt;Feb2020: 969+352-271=1050... and so on&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I started with the following DAX, but this obviously won't work throughout (so I stuck a temporary&amp;nbsp;blank in there for result after Jan).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I'm assuming I need a loop so I can store the previous output in a variable to use in the next month's calculation. I am pretty good with DAX, but not familiar enough to understand the looping mechanism needed for something like this. Any direction would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, Laurie&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jan 2021 18:38:48 GMT</pubDate>
    <dc:creator>LaurieS</dc:creator>
    <dc:date>2021-01-28T18:38:48Z</dc:date>
    <item>
      <title>Using DAX Loops - Can it work for this?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-DAX-Loops-Can-it-work-for-this/m-p/1629913#M33021</link>
      <description>&lt;P&gt;I'm trying to create a table visual (as below), where I can specify the starting point, and then use the output from the previous month to calculate the output for the next, and so on. I'll try to explain the best way I can.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm staring with the value for 1081 for 12/31/2019 (that is a static value). I then want to take that value and use it in a calculation for the next month(s) output.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Jan2020: 1081+341-453 = 969&lt;/P&gt;&lt;P&gt;Feb2020: 969+352-271=1050... and so on&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I started with the following DAX, but this obviously won't work throughout (so I stuck a temporary&amp;nbsp;blank in there for result after Jan).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I'm assuming I need a loop so I can store the previous output in a variable to use in the next month's calculation. I am pretty good with DAX, but not familiar enough to understand the looping mechanism needed for something like this. Any direction would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, Laurie&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 18:38:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-DAX-Loops-Can-it-work-for-this/m-p/1629913#M33021</guid>
      <dc:creator>LaurieS</dc:creator>
      <dc:date>2021-01-28T18:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using DAX Loops - Can it work for this?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-DAX-Loops-Can-it-work-for-this/m-p/1630374#M33031</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 01:02:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-DAX-Loops-Can-it-work-for-this/m-p/1630374#M33031</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2021-01-29T01:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using DAX Loops - Can it work for this?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-DAX-Loops-Can-it-work-for-this/m-p/1632217#M33073</link>
      <description>&lt;P&gt;Thank you so much! Works perfectly.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 16:03:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-DAX-Loops-Can-it-work-for-this/m-p/1632217#M33073</guid>
      <dc:creator>LaurieS</dc:creator>
      <dc:date>2021-01-29T16:03:30Z</dc:date>
    </item>
  </channel>
</rss>

