<?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 Removing Sales position using different date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-Sales-position-using-different-date/m-p/4093704#M162450</link>
    <description>&lt;P&gt;Dear community!&lt;BR /&gt;&lt;BR /&gt;The problem I am encountering:&lt;BR /&gt;I have Sales data with Item positions. It is considered Orders received with "Document Date" attached to this position.&lt;BR /&gt;However, I also have another column which tags an item as "rejected/cancelled", which sometimes happen. This then have "Item changed date".&lt;BR /&gt;&lt;BR /&gt;With this in mind, I want to create a time intelligence/Matrix that pick up;&lt;BR /&gt;Original order for Document date that gets removed for what date it is found to be rejected, but original position does not get adjusted;&lt;BR /&gt;I.e if 5 items for sales order is received in February, and 1 item is removed in May, the OR should still have 5 items in Feb, but item 1 is removed in May.&lt;BR /&gt;&lt;BR /&gt;The only solution I have found removes the item on February level.&lt;BR /&gt;&lt;BR /&gt;Your support would be much appreciated!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Horsebaker&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Aug 2024 11:10:41 GMT</pubDate>
    <dc:creator>horsebaker</dc:creator>
    <dc:date>2024-08-11T11:10:41Z</dc:date>
    <item>
      <title>Removing Sales position using different date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-Sales-position-using-different-date/m-p/4093704#M162450</link>
      <description>&lt;P&gt;Dear community!&lt;BR /&gt;&lt;BR /&gt;The problem I am encountering:&lt;BR /&gt;I have Sales data with Item positions. It is considered Orders received with "Document Date" attached to this position.&lt;BR /&gt;However, I also have another column which tags an item as "rejected/cancelled", which sometimes happen. This then have "Item changed date".&lt;BR /&gt;&lt;BR /&gt;With this in mind, I want to create a time intelligence/Matrix that pick up;&lt;BR /&gt;Original order for Document date that gets removed for what date it is found to be rejected, but original position does not get adjusted;&lt;BR /&gt;I.e if 5 items for sales order is received in February, and 1 item is removed in May, the OR should still have 5 items in Feb, but item 1 is removed in May.&lt;BR /&gt;&lt;BR /&gt;The only solution I have found removes the item on February level.&lt;BR /&gt;&lt;BR /&gt;Your support would be much appreciated!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Horsebaker&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Aug 2024 11:10:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-Sales-position-using-different-date/m-p/4093704#M162450</guid>
      <dc:creator>horsebaker</dc:creator>
      <dc:date>2024-08-11T11:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Sales position using different date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-Sales-position-using-different-date/m-p/4093805#M162454</link>
      <description>&lt;P&gt;If you have any questions or need more info, just hit me up!&lt;/P&gt;&lt;P&gt;Original Orders =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM(Sales[ItemCount]),&lt;BR /&gt;Sales[Status] &amp;lt;&amp;gt; "Rejected")&lt;BR /&gt;----------------------------------&lt;BR /&gt;Rejected Items =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM(Sales[ItemCount]),&lt;BR /&gt;Sales[Status] = "Rejected")&lt;BR /&gt;-----------------------------&lt;BR /&gt;Adjusted Orders =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;[Original Orders] - [Rejected Items],&lt;BR /&gt;DATESBETWEEN(&lt;BR /&gt;'Calendar'[Date],&lt;BR /&gt;MIN('Calendar'[Date]),&lt;BR /&gt;MAX('Calendar'[Date])))&lt;/P&gt;</description>
      <pubDate>Sun, 11 Aug 2024 15:46:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-Sales-position-using-different-date/m-p/4093805#M162454</guid>
      <dc:creator>ahadkarimi</dc:creator>
      <dc:date>2024-08-11T15:46:30Z</dc:date>
    </item>
  </channel>
</rss>

