<?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: parent child hierarchy filtering in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/parent-child-hierarchy-filtering/m-p/1388622#M25412</link>
    <description>&lt;P&gt;I forgot to say that I am working in Excel hence using ISFILTERED rather than ISINSCOPE&lt;/P&gt;</description>
    <pubDate>Wed, 23 Sep 2020 00:34:31 GMT</pubDate>
    <dc:creator>robinherrick</dc:creator>
    <dc:date>2020-09-23T00:34:31Z</dc:date>
    <item>
      <title>parent child hierarchy filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/parent-child-hierarchy-filtering/m-p/1388619#M25411</link>
      <description>&lt;P&gt;I have a four level hierarchy, arranged much as per the example in F 11 17 from Chapter 11 of the Definitive Guide to DAX by Russo Marco and Ferrari Alberto. When I filter by name, it keeps the person and its parents, but I also want to keep the children of the filtered person.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first measure is&lt;BR /&gt;BrowseDepth:=ISFILTERED (Persons[Level1]) +&lt;BR /&gt;ISFILTERED (Persons[Level2]) +&lt;BR /&gt;ISFILTERED (Persons[Level3]) +&lt;BR /&gt;ISFILTERED (Persons[Level4])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the second is&lt;BR /&gt;PC Amount:=IF (&lt;BR /&gt;MAX (Persons[NodeDepth]) &amp;lt; [BrowseDepth],&lt;BR /&gt;BLANK (),&lt;BR /&gt;SUM(Sales[Amount])&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output table is the person's name and the PC Amount.&lt;/P&gt;&lt;P&gt;I cannot figure out how to do this by myself so any help would be much appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 00:33:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/parent-child-hierarchy-filtering/m-p/1388619#M25411</guid>
      <dc:creator>robinherrick</dc:creator>
      <dc:date>2020-09-23T00:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: parent child hierarchy filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/parent-child-hierarchy-filtering/m-p/1388622#M25412</link>
      <description>&lt;P&gt;I forgot to say that I am working in Excel hence using ISFILTERED rather than ISINSCOPE&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 00:34:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/parent-child-hierarchy-filtering/m-p/1388622#M25412</guid>
      <dc:creator>robinherrick</dc:creator>
      <dc:date>2020-09-23T00:34:31Z</dc:date>
    </item>
  </channel>
</rss>

