<?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: Urgent Request: Dax to Obtain Current Forecast Qty Values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Urgent-Request-Dax-to-Obtain-Current-Forecast-Qty-Values/m-p/3289214#M122404</link>
    <description>&lt;P&gt;Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). &lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 17 Jun 2023 23:38:31 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2023-06-17T23:38:31Z</dc:date>
    <item>
      <title>Urgent Request: Dax to Obtain Current Forecast Qty Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Urgent-Request-Dax-to-Obtain-Current-Forecast-Qty-Values/m-p/3287830#M122294</link>
      <description>&lt;P&gt;Hello, I have a table 'Historical Forecast' that stores all of the forecast submissions for the past 5 years. I can not seem to find a solution after reseraching on how to call the last forcast submitted for each individual month.&amp;nbsp; I am trying to get the values in orange "&amp;nbsp;&lt;SPAN&gt;'Historical Forecast'&lt;/SPAN&gt;&lt;SPAN&gt;[SalesQty]". Below is my failed dax attempt.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Current Forecast Qty = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;LASTNONBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Historical Forecast'&lt;/SPAN&gt;&lt;SPAN&gt;[SalesQty]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Historical Forecast'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Historical Forecast'&lt;/SPAN&gt;&lt;SPAN&gt;[Forecast As Of Date]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Historical Forecast'&lt;/SPAN&gt;&lt;SPAN&gt;[Forecast As Of Date]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have also include an image below of the returned results. The results should match forecast qty but they don't. The reason I do not just use 'Forecast Qty' is because it doesn't have historical values, only current and future forecast. I am creating an report that historically evalutes the performance of the forecasts in the past.&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 12:03:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Urgent-Request-Dax-to-Obtain-Current-Forecast-Qty-Values/m-p/3287830#M122294</guid>
      <dc:creator>JanaeWalker864</dc:creator>
      <dc:date>2023-06-16T12:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Request: Dax to Obtain Current Forecast Qty Values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Urgent-Request-Dax-to-Obtain-Current-Forecast-Qty-Values/m-p/3289214#M122404</link>
      <description>&lt;P&gt;Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). &lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2023 23:38:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Urgent-Request-Dax-to-Obtain-Current-Forecast-Qty-Values/m-p/3289214#M122404</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-06-17T23:38:31Z</dc:date>
    </item>
  </channel>
</rss>

