<?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: Filtering Matrix Hierarchy by Parent's Measure Value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2316387#M57725</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="39298" data-lia-user-login="AlexisOlson" class="lia-mention lia-mention-user"&gt;AlexisOlson&lt;/a&gt;&amp;nbsp;sorry, put the wrong type of permision in google drive. It works now, just checked.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Feb 2022 23:17:51 GMT</pubDate>
    <dc:creator>nbs33</dc:creator>
    <dc:date>2022-02-02T23:17:51Z</dc:date>
    <item>
      <title>Filtering Matrix Hierarchy by Parent's Measure Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2316318#M57720</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been stuck on this problem for a few weeks. You can find a sample of the data and the model &lt;A href="https://drive.google.com/drive/folders/12ZBfbrCNXCjcXvrvzaFqRBVUZr0jv-uD?usp=sharing" target="_self"&gt;here&lt;/A&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have a Orders, Companies, and Dates table. The Companies table has a Parent/Child relationship that forms a ragged hierachy.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have visualized it in a matrix to show YTD Revenue, PYT Revenue, YTD vs PYTD and YTD vs PYTD %.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be able to filter the visual for Parents&amp;nbsp;YTD vs PYTD % that fall in a 10% range.&amp;nbsp; For exmaple, I'd like a slicer that showed 100% to 90%, 89% to 70%...etc. and to be able to select one of these ranges to filter Parents whos&amp;nbsp;YTD vs PYTD % fall in this range along with their childern, even if the childern have a different value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using dynamic segemnations patterens, also tried createing a calculated table to compute the YTD vs PYTD % and use as a filter. I think my DAX skills aren't advanced enough, as I struggle conceputally how to tackle this problem. Any guidence is greatly apprciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&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>Wed, 02 Feb 2022 22:17:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2316318#M57720</guid>
      <dc:creator>nbs33</dc:creator>
      <dc:date>2022-02-02T22:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Matrix Hierarchy by Parent's Measure Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2316327#M57721</link>
      <description>&lt;P&gt;I can't access the file you linked to.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 22:31:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2316327#M57721</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2022-02-02T22:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Matrix Hierarchy by Parent's Measure Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2316387#M57725</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="39298" data-lia-user-login="AlexisOlson" class="lia-mention lia-mention-user"&gt;AlexisOlson&lt;/a&gt;&amp;nbsp;sorry, put the wrong type of permision in google drive. It works now, just checked.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 23:17:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2316387#M57725</guid>
      <dc:creator>nbs33</dc:creator>
      <dc:date>2022-02-02T23:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Matrix Hierarchy by Parent's Measure Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2318148#M57831</link>
      <description>&lt;P&gt;Try defining a new parameter that has values from 0% - 100% and create a measure to filter based on those parameter values in a slicer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I defined a new table named Range and defined this as a filter measure.&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;InSelectedRange =
VAR Level1Growth =
    CALCULATE (
        [YTD vs PYTD Revenue %],
        ALLSELECTED (),
        VALUES ( Companies[Level 1] )
    )
VAR RangeBuckets =
    FILTER (
        Range,
        Range[Range] &amp;lt;= Level1Growth
            &amp;amp;&amp;amp; ( Range[Range] = 1
            || Range[Range] + 0.1 &amp;gt; Level1Growth )
    )
RETURN
    IF ( ISEMPTY ( RangeBuckets ), 0, 1 )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See attached file.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 16:55:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2318148#M57831</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2022-02-03T16:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Matrix Hierarchy by Parent's Measure Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2318347#M57843</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="39298" data-lia-user-login="AlexisOlson" class="lia-mention lia-mention-user"&gt;AlexisOlson&lt;/a&gt;, I am going to try and implement into my model. Question is there a way to filter a whole page for just the customers that fall in the ranage?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 19:19:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2318347#M57843</guid>
      <dc:creator>nbs33</dc:creator>
      <dc:date>2022-02-03T19:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Matrix Hierarchy by Parent's Measure Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2318476#M57856</link>
      <description>&lt;P&gt;You could define a calculated column on the Companies table that buckets each [Level 1] into the corresponding range and then use that column for your slicer. This isn't dynamic though. Each [Level 1] item can only have a single value regardless of what report filters you have.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 21:24:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2318476#M57856</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2022-02-03T21:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Matrix Hierarchy by Parent's Measure Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2318492#M57860</link>
      <description>&lt;P&gt;Ok I'll play with that and see if the end result gets me close.&lt;BR /&gt;&lt;BR /&gt;I added your measure filter to my model and it works except if I have a year selected in my date slicer. Do I need to add some type of date filter in the Level1Growth variable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;InSelectedRange = 
VAR Level1Growth = CALCULATE ( [YTD vs PYTD Revenue %], ALLSELECTED (), VALUES ( Companies[Level 1] ) )
VAR RangeBuckets = FILTER ( Range, Range[Range] &amp;lt;= Level1Growth &amp;amp;&amp;amp; ( Range[Range] = 1 || Range[Range] + 0.1 &amp;gt; Level1Growth ) )
RETURN
    IF ( ISEMPTY ( RangeBuckets ), 0, 1 )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 21:48:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2318492#M57860</guid>
      <dc:creator>nbs33</dc:creator>
      <dc:date>2022-02-03T21:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Matrix Hierarchy by Parent's Measure Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2318559#M57861</link>
      <description>&lt;P&gt;I'm not sure what you're saying doesn't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is an example of what I see with a year selected:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Is this not the expected output?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 22:30:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2318559#M57861</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2022-02-03T22:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Matrix Hierarchy by Parent's Measure Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2318648#M57862</link>
      <description>&lt;P&gt;Strange, if you look at the pictures below both range filters are the same but populate the matrix differently. The only modification I made was to extended the range down to -1.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I also have one additional page level filter to filter out inactive customers but removing this didn't change anything.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&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;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 23:17:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2318648#M57862</guid>
      <dc:creator>nbs33</dc:creator>
      <dc:date>2022-02-03T23:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Matrix Hierarchy by Parent's Measure Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2320115#M57934</link>
      <description>&lt;P&gt;Maybe because 2019 doesn't have a previous year?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 15:10:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2320115#M57934</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2022-02-04T15:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Matrix Hierarchy by Parent's Measure Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2320784#M57965</link>
      <description>&lt;P&gt;Maybe you're right, I expanded my date table to include the full range of dates in the Orders table and I still have a blank in the slicer. It's a head scratcher....the only other thing that is different is I user Company Name instead Company Id for the levels of the hierarchy.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I change the range slicer to less than zero the behavior is even stranger. The matrix shows positive percentages.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 23:50:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2320784#M57965</guid>
      <dc:creator>nbs33</dc:creator>
      <dc:date>2022-02-04T23:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Matrix Hierarchy by Parent's Measure Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2331892#M58630</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="39298" data-lia-user-login="AlexisOlson" class="lia-mention lia-mention-user"&gt;AlexisOlson&lt;/a&gt;, I've been trying to break you solution apart to see where it fails in my model. I think I found where the issue is coming from.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;When I test the effect of selecting the year on the&amp;nbsp;&lt;SPAN&gt;RangeBuckets varible I get the results below. When I run this test in your file, the RangeBuckets remain -100% no matter if a year is selected or not.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried using a REMOVEFILTER for the year but no luck. Any idea how to solve this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&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;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 22:36:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2331892#M58630</guid>
      <dc:creator>nbs33</dc:creator>
      <dc:date>2022-02-10T22:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Matrix Hierarchy by Parent's Measure Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2339858#M59015</link>
      <description>&lt;P&gt;I figured out the issue, it is two fold. First, I had a relationship in my model that created a circular dependancy. Second, the filter mease is calculating in 10% increments so it includes values greater than the max or min value in the slicer. I change the slicer to a drop down so the user can select a bucket of value in 10% increments which makes more sense from a usability perspective.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 14:38:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-Matrix-Hierarchy-by-Parent-s-Measure-Value/m-p/2339858#M59015</guid>
      <dc:creator>nbs33</dc:creator>
      <dc:date>2022-02-15T14:38:16Z</dc:date>
    </item>
  </channel>
</rss>

