<?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 Ragged Heirarchy issue using MAX function in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ragged-Heirarchy-issue-using-MAX-function/m-p/2188860#M51118</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using Daxpattern's guide to remove blanks from my ragged heirarchy. (&lt;A href="https://www.daxpatterns.com/parent-child-hierarchies/" target="_blank" rel="noopener"&gt;https://www.daxpatterns.com/parent-child-hierarchies/&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've followed it exactly but am runninng into an issue. The MAX function below returns blank values for some of my clients. I have verified in my data table that all rows have a value of one or greater for the column 'Entity[Depth]'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;EntityRowDepth := MAX ( Entity[Depth] )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I add this measure below to my final matrix, these customers don't show because EntityRowDepth is blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Total Base :=
VAR Val = [Sum Amount]
VAR EntityShowRow =
    [EntityBrowseDepth] &amp;lt;= [EntityRowDepth]
VAR Result =
    IF ( EntityShowRow, Val )
RETURN
    Result&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what is causing this? Unfortunity I can't share my file but I hope this is enough to explain the situation.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 14 Nov 2021 14:32:13 GMT</pubDate>
    <dc:creator>nbs333</dc:creator>
    <dc:date>2021-11-14T14:32:13Z</dc:date>
    <item>
      <title>Ragged Heirarchy issue using MAX function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ragged-Heirarchy-issue-using-MAX-function/m-p/2188860#M51118</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using Daxpattern's guide to remove blanks from my ragged heirarchy. (&lt;A href="https://www.daxpatterns.com/parent-child-hierarchies/" target="_blank" rel="noopener"&gt;https://www.daxpatterns.com/parent-child-hierarchies/&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've followed it exactly but am runninng into an issue. The MAX function below returns blank values for some of my clients. I have verified in my data table that all rows have a value of one or greater for the column 'Entity[Depth]'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;EntityRowDepth := MAX ( Entity[Depth] )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I add this measure below to my final matrix, these customers don't show because EntityRowDepth is blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Total Base :=
VAR Val = [Sum Amount]
VAR EntityShowRow =
    [EntityBrowseDepth] &amp;lt;= [EntityRowDepth]
VAR Result =
    IF ( EntityShowRow, Val )
RETURN
    Result&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what is causing this? Unfortunity I can't share my file but I hope this is enough to explain the situation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Nov 2021 14:32:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ragged-Heirarchy-issue-using-MAX-function/m-p/2188860#M51118</guid>
      <dc:creator>nbs333</dc:creator>
      <dc:date>2021-11-14T14:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ragged Heirarchy issue using MAX function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ragged-Heirarchy-issue-using-MAX-function/m-p/2188937#M51121</link>
      <description>&lt;P&gt;Can you share a link to a file that demonstrates the issue? It can be simple dummy data, not any real data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's very difficult to diagnose this sort of thing completely in the dark.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Nov 2021 18:02:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ragged-Heirarchy-issue-using-MAX-function/m-p/2188937#M51121</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2021-11-14T18:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ragged Heirarchy issue using MAX function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ragged-Heirarchy-issue-using-MAX-function/m-p/2193541#M51328</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="333472" data-lia-user-login="nbs333" class="lia-mention lia-mention-user"&gt;nbs333&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please provide some data and expected output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Community Support Team _ polly&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 02:53:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ragged-Heirarchy-issue-using-MAX-function/m-p/2193541#M51328</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-17T02:53:59Z</dc:date>
    </item>
  </channel>
</rss>

