<?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: How to compute sales projection for the below question in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-compute-sales-projection-for-the-below-question/m-p/3197359#M116120</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="350848" data-lia-user-login="Heena9980" class="lia-mention lia-mention-user"&gt;Heena9980&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;for a calculated column you can use&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Projected Quantity =&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;items[q&lt;SPAN&gt;uantity]&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;* 1.12&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Note: but you may also need to define the projected date in another column.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 20 Apr 2023 07:31:06 GMT</pubDate>
    <dc:creator>Naveen132</dc:creator>
    <dc:date>2023-04-20T07:31:06Z</dc:date>
    <item>
      <title>How to compute sales projection for the below question</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-compute-sales-projection-for-the-below-question/m-p/2277355#M55618</link>
      <description>&lt;P&gt;​A business owner needs a Power BI report which shows projected sales for the next year. The sales field is in the "reports" table. A sale is represented by the "sales" field. The "reports" table contains only data for the current year.&lt;/P&gt;&lt;P&gt;Fill in the blank&amp;nbsp;of the following DAX expression for a new column that will compute the sales projection as the current year's sales plus 12 percent growth:&lt;/P&gt;&lt;PRE&gt;Next Year Sale =  * 1.12&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Jan 2022 11:04:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-compute-sales-projection-for-the-below-question/m-p/2277355#M55618</guid>
      <dc:creator>Heena9980</dc:creator>
      <dc:date>2022-01-11T11:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to compute sales projection for the below question</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-compute-sales-projection-for-the-below-question/m-p/2277467#M55627</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="350848" data-lia-user-login="Heena9980" class="lia-mention lia-mention-user"&gt;Heena9980&lt;/a&gt; , We need to get this year sales first&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on selected date in page&lt;/P&gt;
&lt;P&gt;This year Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(ENDOFYEAR('Date'[Date]),"12/31"))&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;This Year = CALCULATE(sum('Table'[Qty]),filter(ALL('Date'),'Date'[Year]=max('Date'[Year])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on today&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;YTD Today= &lt;BR /&gt;var _year = year(today()) &lt;BR /&gt;return &lt;BR /&gt;CALCULATE(sum('Table'[Qty]), FILTER(ALL('Date'), year('Date'[Date]) =&amp;nbsp; _year) )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can mutiple these by 1.2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;treat hem as previous year - next year is selected&lt;/P&gt;
&lt;P&gt;Last year Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(ENDOFYEAR(dateadd('Date'[Date],-1,Year)),"12/31"))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 12:01:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-compute-sales-projection-for-the-below-question/m-p/2277467#M55627</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-01-11T12:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to compute sales projection for the below question</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-compute-sales-projection-for-the-below-question/m-p/3197359#M116120</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="350848" data-lia-user-login="Heena9980" class="lia-mention lia-mention-user"&gt;Heena9980&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;for a calculated column you can use&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Projected Quantity =&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;items[q&lt;SPAN&gt;uantity]&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;* 1.12&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Note: but you may also need to define the projected date in another column.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Apr 2023 07:31:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-compute-sales-projection-for-the-below-question/m-p/3197359#M116120</guid>
      <dc:creator>Naveen132</dc:creator>
      <dc:date>2023-04-20T07:31:06Z</dc:date>
    </item>
  </channel>
</rss>

