<?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: need help on how to take all rows for an item into account. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-on-how-to-take-all-rows-for-an-item-into-account/m-p/3504783#M134456</link>
    <description>&lt;P&gt;this worked exactly how i wanted. thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Oct 2023 14:05:47 GMT</pubDate>
    <dc:creator>DustinD</dc:creator>
    <dc:date>2023-10-30T14:05:47Z</dc:date>
    <item>
      <title>need help on how to take all rows for an item into account.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-on-how-to-take-all-rows-for-an-item-into-account/m-p/3504674#M134447</link>
      <description>&lt;P&gt;i have made a mock up of what my table looks like. so my goal is to take remsales minus onhand for a item and return y or n if we can cover all orders. so for example below 432-10 is in the table 2 times. when test runs which is what im using to show what im looking for. i want it to take all orders for a part not just a row level. the first item in the chart can be coverred but at the bottom we see the item again and we do not have enough to cover both orders so it should return n for that item number.&amp;nbsp;&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;</description>
      <pubDate>Mon, 30 Oct 2023 13:18:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-on-how-to-take-all-rows-for-an-item-into-account/m-p/3504674#M134447</guid>
      <dc:creator>DustinD</dc:creator>
      <dc:date>2023-10-30T13:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: need help on how to take all rows for an item into account.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-on-how-to-take-all-rows-for-an-item-into-account/m-p/3504725#M134450</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="573493" data-lia-user-login="DustinD" class="lia-mention lia-mention-user"&gt;DustinD&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try to add a calculated column like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Test2 = 
VAR _t = FILTER(data, data[Item]=EARLIER(data[Item]))
VAR _r = SUMX( _t, data[Resales])
VAR _o = MAXX( _t, data[On-Hand])
RETURN
IF(_o&amp;gt;=_r, "y", "n")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it worked like:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 13:45:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-on-how-to-take-all-rows-for-an-item-into-account/m-p/3504725#M134450</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-10-30T13:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: need help on how to take all rows for an item into account.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-on-how-to-take-all-rows-for-an-item-into-account/m-p/3504733#M134451</link>
      <description>&lt;P&gt;will evrey row having its own order number effect using this dax?&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 13:48:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-on-how-to-take-all-rows-for-an-item-into-account/m-p/3504733#M134451</guid>
      <dc:creator>DustinD</dc:creator>
      <dc:date>2023-10-30T13:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: need help on how to take all rows for an item into account.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-on-how-to-take-all-rows-for-an-item-into-account/m-p/3504744#M134452</link>
      <description>&lt;P&gt;no, it won't. just try and let us know.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 13:52:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-on-how-to-take-all-rows-for-an-item-into-account/m-p/3504744#M134452</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-10-30T13:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: need help on how to take all rows for an item into account.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-on-how-to-take-all-rows-for-an-item-into-account/m-p/3504783#M134456</link>
      <description>&lt;P&gt;this worked exactly how i wanted. thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 14:05:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-on-how-to-take-all-rows-for-an-item-into-account/m-p/3504783#M134456</guid>
      <dc:creator>DustinD</dc:creator>
      <dc:date>2023-10-30T14:05:47Z</dc:date>
    </item>
  </channel>
</rss>

