<?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 Sales of new products from the first expected sales date and 4 month ahead in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sales-of-new-products-from-the-first-expected-sales-date-and-4/m-p/1623164#M32781</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I need to calculate the number of Kilos sold after Expected selling start date for each product in New Products table.&lt;/P&gt;&lt;P&gt;Invoice Date is date of selling.&lt;/P&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;&lt;P&gt;There is relations between:&lt;/P&gt;&lt;P&gt;Dim_Calendar/Date and Sales/Invoice Date&lt;/P&gt;&lt;P&gt;Dim_Calendar/Date and New Products/Expected selling start date&lt;BR /&gt;Dim_Items/Item number and Sales/Item Number&lt;BR /&gt;Dim_Items/Item number and New Products/Item number&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The report should look like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Can anybody help?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Lotte&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jan 2021 09:45:18 GMT</pubDate>
    <dc:creator>LotteLaugesen</dc:creator>
    <dc:date>2021-01-26T09:45:18Z</dc:date>
    <item>
      <title>Sales of new products from the first expected sales date and 4 month ahead</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sales-of-new-products-from-the-first-expected-sales-date-and-4/m-p/1623164#M32781</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I need to calculate the number of Kilos sold after Expected selling start date for each product in New Products table.&lt;/P&gt;&lt;P&gt;Invoice Date is date of selling.&lt;/P&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;&lt;P&gt;There is relations between:&lt;/P&gt;&lt;P&gt;Dim_Calendar/Date and Sales/Invoice Date&lt;/P&gt;&lt;P&gt;Dim_Calendar/Date and New Products/Expected selling start date&lt;BR /&gt;Dim_Items/Item number and Sales/Item Number&lt;BR /&gt;Dim_Items/Item number and New Products/Item number&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The report should look like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Can anybody help?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Lotte&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 09:45:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sales-of-new-products-from-the-first-expected-sales-date-and-4/m-p/1623164#M32781</guid>
      <dc:creator>LotteLaugesen</dc:creator>
      <dc:date>2021-01-26T09:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sales of new products from the first expected sales date and 4 month ahead</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sales-of-new-products-from-the-first-expected-sales-date-and-4/m-p/1623306#M32787</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="263569" data-lia-user-login="LotteLaugesen" class="lia-mention lia-mention-user"&gt;LotteLaugesen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
VAR startDate_ =
    SELECTEDVALUE ( NewProducts[Expected selling start date] )
VAR endDate_ =
    EDATE ( startDate_, 4 )
RETURN
    CALCULATE (
        SUM ( Sales[Kilos] ),
        Sales[Invoice date] &amp;gt;= startDate_ &amp;amp;&amp;amp; Sales[Invoice date] &amp;lt;= endDate_
    )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 10:28:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sales-of-new-products-from-the-first-expected-sales-date-and-4/m-p/1623306#M32787</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2021-01-26T10:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sales of new products from the first expected sales date and 4 month ahead</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sales-of-new-products-from-the-first-expected-sales-date-and-4/m-p/1623374#M32792</link>
      <description>&lt;P&gt;Thank you so much - exactly what I needed&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":clapping_hands:"&gt;👏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 11:06:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sales-of-new-products-from-the-first-expected-sales-date-and-4/m-p/1623374#M32792</guid>
      <dc:creator>LotteLaugesen</dc:creator>
      <dc:date>2021-01-26T11:06:55Z</dc:date>
    </item>
  </channel>
</rss>

