<?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: Help with Previous Day value Calculation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Previous-Day-value-Calculation/m-p/3580359#M138088</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="655930" data-lia-user-login="Pquinlan21" class="lia-mention lia-mention-user"&gt;Pquinlan21&lt;/a&gt;&amp;nbsp;Oh, it's a column. Just remove the MAX around the __Date variable calculation and you will be set.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Dec 2023 17:59:22 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2023-12-12T17:59:22Z</dc:date>
    <item>
      <title>Help with Previous Day value Calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Previous-Day-value-Calculation/m-p/3580220#M138079</link>
      <description>&lt;P&gt;I could use help with determining why my code is not working. Thank you&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 16:33:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Previous-Day-value-Calculation/m-p/3580220#M138079</guid>
      <dc:creator>Pquinlan21</dc:creator>
      <dc:date>2023-12-12T16:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Previous Day value Calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Previous-Day-value-Calculation/m-p/3580282#M138081</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="655930" data-lia-user-login="Pquinlan21" class="lia-mention lia-mention-user"&gt;Pquinlan21&lt;/a&gt;&amp;nbsp;Could be a whole host of things starting with using CALCULATE and DAX TI functions. You can do this simply by using this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
  VAR __Date = MAX('winston (2)'[Date])
  VAR __PrevDay = __Date - 1
  VAR __Result = SUMX( FILTER(ALLSELECTED('winston (2)'), [Date] = __PrevDay), [Daily PPC Natural Gas Burned mcal] )
RETURN
  __Result&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 17:01:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Previous-Day-value-Calculation/m-p/3580282#M138081</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-12-12T17:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Previous Day value Calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Previous-Day-value-Calculation/m-p/3580331#M138086</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;It worked to get the value for the previous day but it only provided that value. I would like it to give the previous value for each day if that is possible. I have attache a screen shot showing the results of the previous code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 17:40:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Previous-Day-value-Calculation/m-p/3580331#M138086</guid>
      <dc:creator>Pquinlan21</dc:creator>
      <dc:date>2023-12-12T17:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Previous Day value Calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Previous-Day-value-Calculation/m-p/3580359#M138088</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="655930" data-lia-user-login="Pquinlan21" class="lia-mention lia-mention-user"&gt;Pquinlan21&lt;/a&gt;&amp;nbsp;Oh, it's a column. Just remove the MAX around the __Date variable calculation and you will be set.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 17:59:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Previous-Day-value-Calculation/m-p/3580359#M138088</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-12-12T17:59:22Z</dc:date>
    </item>
  </channel>
</rss>

