<?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: Find productions that reaches current inventory FIFO in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3321891#M124345</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="586433" data-lia-user-login="yavuzonaran" class="lia-mention lia-mention-user"&gt;yavuzonaran&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Still not sure what are you trying to achieve&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 09 Jul 2023 13:15:05 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-07-09T13:15:05Z</dc:date>
    <item>
      <title>Find productions that reaches current inventory FIFO</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3321792#M124340</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to tables as below. I want to find production days of current inventory as we using fifo method and find inventory age with today() - production date. We assume today as 10.07.2023&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 1-Current Inventory&lt;/P&gt;&lt;P&gt;Item1 100pcs&lt;/P&gt;&lt;P&gt;Item2 50pcs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 2-Productions&lt;/P&gt;&lt;P&gt;Item1 50pcs 01.07.2023&lt;/P&gt;&lt;P&gt;Item1 30pcs 03.07.2023&lt;/P&gt;&lt;P&gt;Item1 60pcs 07.07.2023&lt;/P&gt;&lt;P&gt;Item2 20pcs 02.07.2023&lt;/P&gt;&lt;P&gt;Item2 30pcs 04.07.2023&lt;/P&gt;&lt;P&gt;Item2 5pcs 08.07.2023&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected result is;&lt;/P&gt;&lt;P&gt;Item1 60pcs 07.07.2023 3days&lt;/P&gt;&lt;P&gt;Item1 30pcs 03.07.2023 7days&lt;/P&gt;&lt;P&gt;Item1 10pcs 01.07.2023 9days&lt;/P&gt;&lt;P&gt;Item2 5pcs 08.07.2023 2days&lt;/P&gt;&lt;P&gt;Item2 30pcs 04.07.2023 6days&lt;/P&gt;&lt;P&gt;Item2 15pcs 02.07.2023 8days&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Weighted average aging&lt;/P&gt;&lt;P&gt;Item1 100pcs 6,89days&lt;/P&gt;&lt;P&gt;Item2 50pcs 6,20days&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Item&lt;/TD&gt;&lt;TD&gt;Quantity&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item1&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item2&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Item&lt;/TD&gt;&lt;TD&gt;Quantity&lt;/TD&gt;&lt;TD&gt;Production Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item1&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;TD&gt;1.07.2023&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item1&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;3.07.2023&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item1&lt;/TD&gt;&lt;TD&gt;60&lt;/TD&gt;&lt;TD&gt;7.07.2023&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item2&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;2.07.2023&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item2&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;4.07.2023&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item2&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;8.07.2023&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sun, 09 Jul 2023 08:57:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3321792#M124340</guid>
      <dc:creator>yavuzonaran</dc:creator>
      <dc:date>2023-07-09T08:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Find productions that reaches current inventory FIFO</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3321829#M124342</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="586433" data-lia-user-login="yavuzonaran" class="lia-mention lia-mention-user"&gt;yavuzonaran&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Not sure what exactly do you mean by weighted average.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2023 10:58:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3321829#M124342</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-07-09T10:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Find productions that reaches current inventory FIFO</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3321855#M124343</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First i need to do below one. This is the aging detail of inventory in hand&lt;/P&gt;&lt;P&gt;Expected result is;&lt;/P&gt;&lt;P&gt;Item1 60pcs 07.07.2023 3days&lt;/P&gt;&lt;P&gt;Item1 30pcs 03.07.2023 7days&lt;/P&gt;&lt;P&gt;Item1 10pcs 01.07.2023 9days&lt;/P&gt;&lt;P&gt;Total 100pcs&lt;/P&gt;&lt;P&gt;Item2 5pcs 08.07.2023 2days&lt;/P&gt;&lt;P&gt;Item2 30pcs 04.07.2023 6days&lt;/P&gt;&lt;P&gt;Item2 15pcs 02.07.2023 8days&lt;/P&gt;&lt;P&gt;Total 50pcs&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2023 12:04:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3321855#M124343</guid>
      <dc:creator>yavuzonaran</dc:creator>
      <dc:date>2023-07-09T12:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Find productions that reaches current inventory FIFO</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3321891#M124345</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="586433" data-lia-user-login="yavuzonaran" class="lia-mention lia-mention-user"&gt;yavuzonaran&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Still not sure what are you trying to achieve&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2023 13:15:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3321891#M124345</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-07-09T13:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Find productions that reaches current inventory FIFO</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3321961#M124352</link>
      <description>&lt;P&gt;Thank you, i added as measure and it worked.&lt;/P&gt;&lt;P&gt;But i also need weighted average days. let me explain below, i hope this is clear to understand what i try to achieve&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Item&amp;nbsp; &amp;nbsp; &amp;nbsp; Qty&amp;nbsp; &amp;nbsp;Days&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Item1&amp;nbsp; &amp;nbsp; 10&amp;nbsp; &amp;nbsp; &amp;nbsp;9&lt;/P&gt;&lt;P&gt;Item1&amp;nbsp; &amp;nbsp; 30&amp;nbsp; &amp;nbsp; &amp;nbsp;7&lt;/P&gt;&lt;P&gt;Item1&amp;nbsp; &amp;nbsp; 60&amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(10x9+30x7+60x3)/(10+30+60)=&lt;/P&gt;&lt;P&gt;480/100=4,80 weighted average days&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;</description>
      <pubDate>Sun, 09 Jul 2023 15:13:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3321961#M124352</guid>
      <dc:creator>yavuzonaran</dc:creator>
      <dc:date>2023-07-09T15:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Find productions that reaches current inventory FIFO</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3322011#M124363</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="586433" data-lia-user-login="yavuzonaran" class="lia-mention lia-mention-user"&gt;yavuzonaran&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please refer to attached sample file with the proposed solution&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Quantity = 
VAR CurrentDate = MAX ( Productions[Date] )
VAR CumulativeQty = 
    SUMX ( 
        FILTER ( 
            CALCULATETABLE ( Productions, ALL ( Productions ), VALUES ( 'Current Inventory'[Item] ) ),
            Productions[Date] &amp;gt;= CurrentDate
        ),
        Productions[Qty]
    ) 
VAR CurrentQty = SUM ( 'Current Inventory'[Qty] )
VAR ProducedQty = SUM ( Productions[Qty] )
RETURN 
    IF ( 
        NOT ISEMPTY ( Productions ),
        IF ( 
            HASONEVALUE ( Productions[Date] ),
            IF ( 
                CumulativeQty &amp;lt; CurrentQty, 
                ProducedQty, 
                CurrentQty + ProducedQty - CumulativeQty 
            ),
            CurrentQty
        )
    )&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;Average Days = 
IF ( 
    HASONEVALUE ( Productions[Date] ),
    AVERAGEX (
        Productions,
        DATEDIFF ( Productions[Date], TODAY ( ), DAY ) + 1
    ),
    SUMX (
        Productions,
        DIVIDE ( 
            [Quantity] * ( DATEDIFF ( Productions[Date], TODAY ( ), DAY ) + 1 ),
            RELATED ( 'Current Inventory'[Qty] )
        )
    )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 09 Jul 2023 17:52:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3322011#M124363</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-07-09T17:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Find productions that reaches current inventory FIFO</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3322012#M124364</link>
      <description>&lt;P&gt;This is exactly what i try to do! Thanks a lot &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2023 17:59:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3322012#M124364</guid>
      <dc:creator>yavuzonaran</dc:creator>
      <dc:date>2023-07-09T17:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Find productions that reaches current inventory FIFO</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3322067#M124371</link>
      <description>&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I applied solution to my raw data, and there is a little problem need to be solved.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this expression causing this. I need a correction for turning negative&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2023 19:27:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3322067#M124371</guid>
      <dc:creator>yavuzonaran</dc:creator>
      <dc:date>2023-07-09T19:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Find productions that reaches current inventory FIFO</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3322072#M124373</link>
      <description>&lt;P&gt;I also find out another problem like this below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;because of edge value&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;produced 31.152 pcs at 27.05.2023 but current inventory is only 3.516 pcs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;its been only 43 days since produced but measure calculates&lt;/P&gt;&lt;P&gt;31.152/3.516x43=380,98&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;correct formula must calculate&lt;/P&gt;&lt;P&gt;3.516/3.516x43=43&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;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2023 19:58:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3322072#M124373</guid>
      <dc:creator>yavuzonaran</dc:creator>
      <dc:date>2023-07-09T19:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Find productions that reaches current inventory FIFO</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3322108#M124375</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://file.io/A9a3bOpQv4Cl" target="_blank"&gt;https://file.io/A9a3bOpQv4Cl&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;updated file to show errors. could you please check?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2023 21:23:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3322108#M124375</guid>
      <dc:creator>yavuzonaran</dc:creator>
      <dc:date>2023-07-09T21:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Find productions that reaches current inventory FIFO</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3322899#M124406</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="586433" data-lia-user-login="yavuzonaran" class="lia-mention lia-mention-user"&gt;yavuzonaran&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;So negatives should be zero?&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 09:22:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3322899#M124406</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-07-10T09:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Find productions that reaches current inventory FIFO</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3323535#M124438</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wondering if you could educate me once again....this time, about the VAR [CumulativeQty].&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;In my mind:&lt;/P&gt;&lt;P&gt;- ALL (Productions)&amp;nbsp; &amp;nbsp; --REMOVES ALL FILTERS FROM TABLE 'Productions'&lt;/P&gt;&lt;P&gt;- VALUES ('Current Inventory'[Item])&amp;nbsp; &amp;nbsp;--ADDS A FILTER FOR THE [Item] IN THE CURRENT FC.&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;IF a filter for the current item (e.g. Item1) is added, then the FC in the table&amp;nbsp;&lt;EM&gt;visual&lt;/EM&gt; for rows under Item1 &lt;U&gt;&lt;EM&gt;should only relate to the 3 dates that apply to Item 1&lt;/EM&gt;&lt;/U&gt; in the table&amp;nbsp;&lt;EM&gt;data:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;-&amp;nbsp;&lt;/EM&gt;July 1&lt;/P&gt;&lt;P&gt;- July 3&lt;/P&gt;&lt;P&gt;- July 7&lt;/P&gt;&lt;P&gt;NOTE: The other 3 dates ( July 2, 4 &amp;amp; 8 ) apply to Item2 &amp;amp; should not appear in the Item1 FC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if I return the VAR [CumulativeQty], the other 3 dates (for Item2) actually appear in the table&amp;nbsp;&lt;EM&gt;visual&lt;/EM&gt; within the Item1 FC (Filter Context).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This greatly confuses me.&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;I realize this does not impact your end result query as you specifically ignore where Productions ISEMPTY within your RETURN clause.&amp;nbsp; So my q isn't really how you are handling it.&amp;nbsp; My q is more of: &lt;EM&gt;&lt;U&gt;Shouldn't your VALUES clause have handled it already&lt;/U&gt;&lt;/EM&gt;???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can override this by creating the VAR [ProductionsExist] (commented out in the screenshot above), but this is again the equivalent of what you are doing in your IF logic, and again seems like it should not be necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nathan&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 15:42:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-productions-that-reaches-current-inventory-FIFO/m-p/3323535#M124438</guid>
      <dc:creator>WinterMist</dc:creator>
      <dc:date>2023-07-10T15:42:29Z</dc:date>
    </item>
  </channel>
</rss>

