<?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 Calculate order reserve for future on each date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-order-reserve-for-future-on-each-date/m-p/1042045#M13985</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to create a field to show order reserve for the future on each date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have got it working by using filters in dax but that does not give me the possibility show it added to a range of dates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a data sample. I have the first two columns and need to create the third one. I want to mention that the only thing I can use is DAX as the dataset is locked and I cant edit anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2020 14:52:30 GMT</pubDate>
    <dc:creator>bininja</dc:creator>
    <dc:date>2020-04-22T14:52:30Z</dc:date>
    <item>
      <title>Calculate order reserve for future on each date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-order-reserve-for-future-on-each-date/m-p/1042045#M13985</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to create a field to show order reserve for the future on each date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have got it working by using filters in dax but that does not give me the possibility show it added to a range of dates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a data sample. I have the first two columns and need to create the third one. I want to mention that the only thing I can use is DAX as the dataset is locked and I cant edit anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 14:52:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-order-reserve-for-future-on-each-date/m-p/1042045#M13985</guid>
      <dc:creator>bininja</dc:creator>
      <dc:date>2020-04-22T14:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate order reserve for future on each date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-order-reserve-for-future-on-each-date/m-p/1044633#M14073</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;// Calendar joins on Date to Orders[Date]
// and is the date table in the model
// marked as such.

[Order Count] = COUNTROWS( Orders )

[Orders Reserve] =
var __firstDateInContext = FIRSTDATE( 'Calendar'[Date] )
// Get the total count of orders
// from the first date to the end.
var __result =
	CALCULATE(
		[Order Count],
		// For this to work, 'Calendar' must be
		// marked as the Date table in the model
		// and has to be a proper date table!
		'Calendar'[Date] &amp;gt;= __firstDateInContext
	)
return
	__result&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 14:51:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-order-reserve-for-future-on-each-date/m-p/1044633#M14073</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-23T14:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate order reserve for future on each date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-order-reserve-for-future-on-each-date/m-p/1046728#M14137</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Hi. Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting the following error using this formula:&lt;BR /&gt;&lt;BR /&gt;"The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value".&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 10:58:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-order-reserve-for-future-on-each-date/m-p/1046728#M14137</guid>
      <dc:creator>bininja</dc:creator>
      <dc:date>2020-04-24T10:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate order reserve for future on each date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-order-reserve-for-future-on-each-date/m-p/1046772#M14141</link>
      <description>It works correctly. I've checked it. Something's wrong on your side.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Fri, 24 Apr 2020 11:23:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-order-reserve-for-future-on-each-date/m-p/1046772#M14141</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-24T11:23:58Z</dc:date>
    </item>
  </channel>
</rss>

