<?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 Hierarchy level total in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hierarchy-level-total/m-p/1844213#M39357</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am facing issue with hierarchy level total.&amp;nbsp; It is showing incorrect total at top level for one field only.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;Hierarchies&lt;/STRONG&gt;- Rcode-Mcode-Hubname-dealer name&lt;/P&gt;&lt;P&gt;Till &lt;STRONG&gt;'Mcode&lt;/STRONG&gt;' it is showing correct total only at &lt;STRONG&gt;'Rcode'&lt;/STRONG&gt; it is incorrect.&lt;/P&gt;&lt;P&gt;Measure for that field is-&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Total units-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;var Lastmaxdate = MAX(FactPJP[DateOfQuarter])&lt;/P&gt;&lt;P&gt;var lvalue= CALCULATE (&lt;BR /&gt;SUM(FactPJP[TotalNumberOfUnitsInMonth])&lt;BR /&gt;,FactPJP[DateOfQuarter] = LastTime,REMOVEFILTERS(DimDate)))&lt;/P&gt;&lt;P&gt;RETURN lvalue&lt;/P&gt;&lt;P&gt;please help me with that.&lt;/P&gt;</description>
    <pubDate>Sun, 16 May 2021 03:52:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-05-16T03:52:51Z</dc:date>
    <item>
      <title>Hierarchy level total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hierarchy-level-total/m-p/1844213#M39357</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am facing issue with hierarchy level total.&amp;nbsp; It is showing incorrect total at top level for one field only.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;Hierarchies&lt;/STRONG&gt;- Rcode-Mcode-Hubname-dealer name&lt;/P&gt;&lt;P&gt;Till &lt;STRONG&gt;'Mcode&lt;/STRONG&gt;' it is showing correct total only at &lt;STRONG&gt;'Rcode'&lt;/STRONG&gt; it is incorrect.&lt;/P&gt;&lt;P&gt;Measure for that field is-&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Total units-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;var Lastmaxdate = MAX(FactPJP[DateOfQuarter])&lt;/P&gt;&lt;P&gt;var lvalue= CALCULATE (&lt;BR /&gt;SUM(FactPJP[TotalNumberOfUnitsInMonth])&lt;BR /&gt;,FactPJP[DateOfQuarter] = LastTime,REMOVEFILTERS(DimDate)))&lt;/P&gt;&lt;P&gt;RETURN lvalue&lt;/P&gt;&lt;P&gt;please help me with that.&lt;/P&gt;</description>
      <pubDate>Sun, 16 May 2021 03:52:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hierarchy-level-total/m-p/1844213#M39357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-16T03:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy level total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hierarchy-level-total/m-p/1846058#M39384</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; m are you trying cumulative tota, then you should try like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Total units=&lt;/P&gt;
&lt;P&gt;var lvalue= CALCULATE (&lt;BR /&gt;SUM(FactPJP[TotalNumberOfUnitsInMonth])&lt;BR /&gt;,filter(all(DimDate),DimDate[DateOfQuarter] = max(DimDate[date])))&lt;BR /&gt;RETURN lvalue&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 11:16:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hierarchy-level-total/m-p/1846058#M39384</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-05-17T11:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy level total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hierarchy-level-total/m-p/1859603#M39833</link>
      <description>&lt;P&gt;Thanks for the solution.&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 07:57:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hierarchy-level-total/m-p/1859603#M39833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-24T07:57:26Z</dc:date>
    </item>
  </channel>
</rss>

