<?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 Measures for Future Quarters in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-for-Future-Quarters/m-p/3174068#M114519</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset which has a list of orders, their values and their estimated arrival date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create 4 separate sum measures which show the sum of the values for the current and next 3 quarters. As the quarters will change as we move through the year, I don't want to hardcode the dates. Can anyone help me with the DAX for creating these?&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2023 14:28:33 GMT</pubDate>
    <dc:creator>KatieH</dc:creator>
    <dc:date>2023-04-05T14:28:33Z</dc:date>
    <item>
      <title>Measures for Future Quarters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-for-Future-Quarters/m-p/3174068#M114519</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset which has a list of orders, their values and their estimated arrival date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create 4 separate sum measures which show the sum of the values for the current and next 3 quarters. As the quarters will change as we move through the year, I don't want to hardcode the dates. Can anyone help me with the DAX for creating these?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 14:28:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-for-Future-Quarters/m-p/3174068#M114519</guid>
      <dc:creator>KatieH</dc:creator>
      <dc:date>2023-04-05T14:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Measures for Future Quarters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-for-Future-Quarters/m-p/3174189#M114526</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="32249" data-lia-user-login="KatieH" class="lia-mention lia-mention-user"&gt;KatieH&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I usually do for "Orderbook" is this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- I have a calculated column in my "Date_table" which classify the dates based on the month (you can apply the same logic on the Quarter):&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Table.AddColumn(Source, &lt;/SPAN&gt;&lt;SPAN&gt;"Order_Due_Period"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;each&lt;/SPAN&gt; &lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; [MonthsFromActualMonth] = &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt; &lt;SPAN&gt;then&lt;/SPAN&gt; &lt;SPAN&gt;"Current"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;else&lt;/SPAN&gt; &lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; [MonthsFromActualMonth] = &lt;/SPAN&gt;&lt;SPAN&gt;-1&lt;/SPAN&gt; &lt;SPAN&gt;then&lt;/SPAN&gt; &lt;SPAN&gt;"Previous "&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;else&lt;/SPAN&gt; &lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; [MonthsFromActualMonth] &amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt; &lt;SPAN&gt;then&lt;/SPAN&gt; &lt;SPAN&gt;"Future"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;else&lt;/SPAN&gt; &lt;SPAN&gt;"BackLog"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;-The of course you connect the date on your date table with your "Estimate Arrival date" and using always the same Measure you can calculate the value of all the orders that are supposed to arrive in the current quarter, previous, future etc...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Apr 2023 15:16:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-for-Future-Quarters/m-p/3174189#M114526</guid>
      <dc:creator>Uspace87</dc:creator>
      <dc:date>2023-04-05T15:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Measures for Future Quarters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-for-Future-Quarters/m-p/3174203#M114528</link>
      <description>&lt;P&gt;Thanks for the reply&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="472983" data-lia-user-login="Uspace87" class="lia-mention lia-mention-user"&gt;Uspace87&lt;/a&gt;&amp;nbsp;- the bit I'm struggling with is grouping them into actual quarters actual quarters going forward. So as it stands right now, assuming that the quarter we're in is Qtr 1, an order for the 3rd Sept would be summed into the Qtr 2 bucket but as soon as we tip into the 1st July, I'd want it to sum into the Qtr 1 bucket. Does that make sense?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 15:24:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measures-for-Future-Quarters/m-p/3174203#M114528</guid>
      <dc:creator>KatieH</dc:creator>
      <dc:date>2023-04-05T15:24:51Z</dc:date>
    </item>
  </channel>
</rss>

