<?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 RANKX LIVE CONNECTION SSAS Tabular 2017 - DRILLDOWN MATRIX without ISINSCOPE DAX FUNCTION AVAILABLE in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-LIVE-CONNECTION-SSAS-Tabular-2017-DRILLDOWN-MATRIX-without/m-p/4009304#M157632</link>
    <description>&lt;P&gt;Hi expert,&lt;/P&gt;&lt;P&gt;it's all into Subject!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm going crazy about this requirement: I need to create a dinamyc rank in a Matrix with 3 level of drill down.&lt;/P&gt;&lt;P&gt;I was able to create rank using RANKX fuction on a single dimension for another table; searching on Internet I readed a lot of papers for solve the problem, but ISINSCOPE Dax function isn't available with live connection on SQLServer Tabular Analysis 2017.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a workaround for solve this problem? (I tried ISFILTERED and HASONEVALUE but the behavior is not right)&lt;BR /&gt;&lt;BR /&gt;BR,&lt;/P&gt;&lt;P&gt;M&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2024 14:17:23 GMT</pubDate>
    <dc:creator>MattiaMaetini</dc:creator>
    <dc:date>2024-06-25T14:17:23Z</dc:date>
    <item>
      <title>RANKX LIVE CONNECTION SSAS Tabular 2017 - DRILLDOWN MATRIX without ISINSCOPE DAX FUNCTION AVAILABLE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-LIVE-CONNECTION-SSAS-Tabular-2017-DRILLDOWN-MATRIX-without/m-p/4009304#M157632</link>
      <description>&lt;P&gt;Hi expert,&lt;/P&gt;&lt;P&gt;it's all into Subject!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm going crazy about this requirement: I need to create a dinamyc rank in a Matrix with 3 level of drill down.&lt;/P&gt;&lt;P&gt;I was able to create rank using RANKX fuction on a single dimension for another table; searching on Internet I readed a lot of papers for solve the problem, but ISINSCOPE Dax function isn't available with live connection on SQLServer Tabular Analysis 2017.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a workaround for solve this problem? (I tried ISFILTERED and HASONEVALUE but the behavior is not right)&lt;BR /&gt;&lt;BR /&gt;BR,&lt;/P&gt;&lt;P&gt;M&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 14:17:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-LIVE-CONNECTION-SSAS-Tabular-2017-DRILLDOWN-MATRIX-without/m-p/4009304#M157632</guid>
      <dc:creator>MattiaMaetini</dc:creator>
      <dc:date>2024-06-25T14:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX LIVE CONNECTION SSAS Tabular 2017 - DRILLDOWN MATRIX without ISINSCOPE DAX FUNCTION AVAILABLE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-LIVE-CONNECTION-SSAS-Tabular-2017-DRILLDOWN-MATRIX-without/m-p/4010300#M157797</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="411127" data-lia-user-login="MattiaMaetini" class="lia-mention lia-mention-user"&gt;MattiaMaetini&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I think you can&amp;nbsp;use the ISFILTERED function in combination with other DAX functions to achieve the desired behavior. For example, you can create a measure that checks if a certain level of your hierarchy is filtered and then apply the RANKX function accordingly. Here’s a conceptual example of how you might structure such a measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;DynamicRank = 
VAR CurrentLevel = 
    SWITCH(
        TRUE(),
        ISFILTERED(Table[Level1]), "Level1",
        ISFILTERED(Table[Level2]), "Level2",
        ISFILTERED(Table[Level3]), "Level3",
        "Total"
    )
RETURN
    SWITCH(
        CurrentLevel,
        "Level1", RANKX(ALL(Table[Level1]), CALCULATE(SUM(Table[Measure]))),
        "Level2", RANKX(ALL(Table[Level2]), CALCULATE(SUM(Table[Measure]))),
        "Level3", RANKX(ALL(Table[Level3]), CALCULATE(SUM(Table[Measure]))),
        BLANK()
    )
&lt;/LI-CODE&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;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 04:18:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-LIVE-CONNECTION-SSAS-Tabular-2017-DRILLDOWN-MATRIX-without/m-p/4010300#M157797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-26T04:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX LIVE CONNECTION SSAS Tabular 2017 - DRILLDOWN MATRIX without ISINSCOPE DAX FUNCTION AVAILABLE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-LIVE-CONNECTION-SSAS-Tabular-2017-DRILLDOWN-MATRIX-without/m-p/4011364#M157887</link>
      <description>&lt;P&gt;Tks for your answer.&lt;/P&gt;&lt;P&gt;I tried to apply it, but unfortunately in my opinion the problem is that my gerarchy in Matrix is based on 3 different dim tables, so level1, level2 and level3 are always TRUE when I applied ISFILTERED() function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: Another workaround could be to calculate RANKX only for the first level of my 3-gerarchy (i.e. on the first Dim I set as the one on the Matrix-Rows section).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other suggests?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;BR,&lt;/P&gt;&lt;P&gt;M&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 13:23:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-LIVE-CONNECTION-SSAS-Tabular-2017-DRILLDOWN-MATRIX-without/m-p/4011364#M157887</guid>
      <dc:creator>MattiaMaetini</dc:creator>
      <dc:date>2024-06-26T13:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX LIVE CONNECTION SSAS Tabular 2017 - DRILLDOWN MATRIX without ISINSCOPE DAX FUNCTION AVAILABLE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-LIVE-CONNECTION-SSAS-Tabular-2017-DRILLDOWN-MATRIX-without/m-p/4012602#M158022</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="411127" data-lia-user-login="MattiaMaetini" class="lia-mention lia-mention-user"&gt;MattiaMaetini&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Have you tried the workaround you mentioned? I think it is a step in the right direction. It goes some way to troubleshooting the problem and getting it fixed.&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;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&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;</description>
      <pubDate>Thu, 27 Jun 2024 05:38:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-LIVE-CONNECTION-SSAS-Tabular-2017-DRILLDOWN-MATRIX-without/m-p/4012602#M158022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-27T05:38:06Z</dc:date>
    </item>
  </channel>
</rss>

