<?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: DAX to filter on hierarchy level in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-filter-on-hierarchy-level/m-p/717559#M1265</link>
    <description>&lt;P&gt;&lt;A href="https://drive.google.com/open?id=1s5UWaIsur1ZxDFtXvFB_-pB0KM71hTpI" target="_blank" rel="noopener"&gt;Sample data set here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/open?id=1qZHniv8LTeQ4vQgewEXWe0L4-FpKLbNp" target="_blank" rel="noopener"&gt;PIBX File here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Excel file, I copied the hierarchy names to fill empty levels and that has sort of improved some functionality.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2019 10:28:58 GMT</pubDate>
    <dc:creator>MungBurger</dc:creator>
    <dc:date>2019-06-18T10:28:58Z</dc:date>
    <item>
      <title>DAX to filter on hierarchy level</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-filter-on-hierarchy-level/m-p/717172#M1260</link>
      <description>&lt;P&gt;I have a similiar question to these existing questions &lt;A href="https://community.powerbi.com/t5/Desktop/Hierarchy-with-non-aggregated-values/m-p/448633#M207622" target="_blank" rel="noopener"&gt;1&lt;/A&gt; &lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/non-additive-measure-on-pre-aggregated-data/m-p/686577#M533" target="_blank" rel="noopener"&gt;2&lt;/A&gt; 3&amp;nbsp; - that are unanswered, so I'll ask it in a different way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working with almost only pre-aggregated data. I was working on creating a new measure that would only display values at the correct level&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Measure = IF(HASONEVALUE('Fact'[PercentageValue]) , MAX('Fact'[PercentageValue]), BLANK())&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This works well until you get to a visualisation and you want to use the heirachy functionality.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Since the default behaviour is to aggregate data, the parent levels have more than 1 value so nothing is displayed.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;is it possible to write a measure that also filters the dataset to only the records at that level of the hierarchy?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So at level 1 the only fact records belong to the level 1 members and not their children?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 03:12:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-filter-on-hierarchy-level/m-p/717172#M1260</guid>
      <dc:creator>MungBurger</dc:creator>
      <dc:date>2019-06-18T03:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: DAX to filter on hierarchy level</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-filter-on-hierarchy-level/m-p/717217#M1261</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="64597" data-lia-user-login="MungBurger" class="lia-mention lia-mention-user"&gt;MungBurger&lt;/a&gt;&amp;nbsp;Read this post to get your answer quickly. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 05:00:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-filter-on-hierarchy-level/m-p/717217#M1261</guid>
      <dc:creator>parry2k</dc:creator>
      <dc:date>2019-06-18T05:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: DAX to filter on hierarchy level</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-filter-on-hierarchy-level/m-p/717559#M1265</link>
      <description>&lt;P&gt;&lt;A href="https://drive.google.com/open?id=1s5UWaIsur1ZxDFtXvFB_-pB0KM71hTpI" target="_blank" rel="noopener"&gt;Sample data set here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/open?id=1qZHniv8LTeQ4vQgewEXWe0L4-FpKLbNp" target="_blank" rel="noopener"&gt;PIBX File here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Excel file, I copied the hierarchy names to fill empty levels and that has sort of improved some functionality.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 10:28:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-filter-on-hierarchy-level/m-p/717559#M1265</guid>
      <dc:creator>MungBurger</dc:creator>
      <dc:date>2019-06-18T10:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: DAX to filter on hierarchy level</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-filter-on-hierarchy-level/m-p/721973#M1418</link>
      <description>&lt;P&gt;The most acceptable solution was&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax" target="_blank"&gt;https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This does exactly what I needed it to do.&lt;/P&gt;&lt;P&gt;The only limitations are that it can only be used in Azure AS or in the Power BI Service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jun 2019 21:27:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-filter-on-hierarchy-level/m-p/721973#M1418</guid>
      <dc:creator>MungBurger</dc:creator>
      <dc:date>2019-06-23T21:27:39Z</dc:date>
    </item>
  </channel>
</rss>

