<?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 Total of Measure doesnt work in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Total-of-Measure-doesnt-work/m-p/2941705#M1008317</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a measure that calculates Projected Qty on Hand in warehouse based on Qty and Demand, calculation is all good on item level but i can not crack it how to approach to make a summary of it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My fact table consist of dates of transations only on part level, not all dates.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What is calculated in measure is a date of last transaction and based on that i take the calculation Qty-Demand and then i have Projected Qty, as below it is ok for each item:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;approach with SUMMARIZE but it did not worked here, what i expect to see is to have correct totals and then present data with no part number in matrix/table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pbix with sample data:&amp;nbsp; &lt;A href="https://1drv.ms/u/s!AoXSL5pl9luJdKfujLoyId2OVDo?e=IVH1xi" target="_blank" rel="noopener"&gt;https://1drv.ms/u/s!AoXSL5pl9luJdKfujLoyId2OVDo?e=IVH1xi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advise &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; ?&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 10:35:20 GMT</pubDate>
    <dc:creator>mhsk</dc:creator>
    <dc:date>2022-12-01T10:35:20Z</dc:date>
    <item>
      <title>Total of Measure doesnt work</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Total-of-Measure-doesnt-work/m-p/2941705#M1008317</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a measure that calculates Projected Qty on Hand in warehouse based on Qty and Demand, calculation is all good on item level but i can not crack it how to approach to make a summary of it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My fact table consist of dates of transations only on part level, not all dates.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What is calculated in measure is a date of last transaction and based on that i take the calculation Qty-Demand and then i have Projected Qty, as below it is ok for each item:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;approach with SUMMARIZE but it did not worked here, what i expect to see is to have correct totals and then present data with no part number in matrix/table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pbix with sample data:&amp;nbsp; &lt;A href="https://1drv.ms/u/s!AoXSL5pl9luJdKfujLoyId2OVDo?e=IVH1xi" target="_blank" rel="noopener"&gt;https://1drv.ms/u/s!AoXSL5pl9luJdKfujLoyId2OVDo?e=IVH1xi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advise &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; ?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 10:35:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Total-of-Measure-doesnt-work/m-p/2941705#M1008317</guid>
      <dc:creator>mhsk</dc:creator>
      <dc:date>2022-12-01T10:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Total of Measure doesnt work</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Total-of-Measure-doesnt-work/m-p/2941728#M1008323</link>
      <description>&lt;P&gt;Paste your DAX here bro&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 10:52:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Total-of-Measure-doesnt-work/m-p/2941728#M1008323</guid>
      <dc:creator>mh2587</dc:creator>
      <dc:date>2022-12-01T10:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Total of Measure doesnt work</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Total-of-Measure-doesnt-work/m-p/2941734#M1008325</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="98302" data-lia-user-login="mhsk" class="lia-mention lia-mention-user"&gt;mhsk&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Add the following measure to your model:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Projection Total = 
IF (
    ISINSCOPE ( Extract_ld_det_Items[ld_part] ),
    [Projection QOH],
    SUMX (
        SUMMARIZE (
            ALLSELECTED (
                Extract_ld_det_Items[ld_part],
                Extract_ld_det_Items[Extract_mrp_det (2).Start of Week]
            ),
            Extract_ld_det_Items[ld_part],
            "ProjectionValue", [Projection QOH]
        ),
        [ProjectionValue]
    )
)&lt;/LI-CODE&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>Thu, 01 Dec 2022 11:02:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Total-of-Measure-doesnt-work/m-p/2941734#M1008325</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2022-12-01T11:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Total of Measure doesnt work</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Total-of-Measure-doesnt-work/m-p/2942360#M1008493</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="320648" data-lia-user-login="mfed" class="lia-mention lia-mention-user"&gt;mfed&lt;/a&gt;&amp;nbsp;yes, this code solves my issue totally! Great job!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunatelly i can see i have another issue, my calculation is not as expected on previous step, what i was trying to to is to QOH (QOH_NOW) - Running Total of Demand (SUP-DEM_3) , to calculate Projection each next week.&lt;BR /&gt;and again as it works on SUP-DEM_3 level but not if i wrap it up into next measure&amp;nbsp; Projected QOH&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;have an idea?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 16:12:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Total-of-Measure-doesnt-work/m-p/2942360#M1008493</guid>
      <dc:creator>mhsk</dc:creator>
      <dc:date>2022-12-01T16:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Total of Measure doesnt work</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Total-of-Measure-doesnt-work/m-p/2942878#M1008621</link>
      <description>&lt;P&gt;So to add a comment, i end up with having a correct date on which i need a measure value but can not get this measure value (so the previous value - Projection QOH)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 21:27:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Total-of-Measure-doesnt-work/m-p/2942878#M1008621</guid>
      <dc:creator>mhsk</dc:creator>
      <dc:date>2022-12-01T21:27:47Z</dc:date>
    </item>
  </channel>
</rss>

