<?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: two slicers are effecting the results in the card in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-slicers-are-effecting-the-results-in-the-card/m-p/2838137#M90628</link>
    <description>&lt;P&gt;Thank you but I assume you replied the same response for each of my 2 different questions.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I found the solution for this problem, it was easy I just didn't think about it...&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;when you use interactions like when you select category slicer don't affect it subcategory and vice-versa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it works now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 02:32:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-10-13T02:32:37Z</dc:date>
    <item>
      <title>two slicers are effecting the results in the card</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-slicers-are-effecting-the-results-in-the-card/m-p/2837675#M90584</link>
      <description>&lt;P&gt;Suppose you have category and subcategory slicers, you can select all and multi-select&lt;BR /&gt;&lt;BR /&gt;and we have a ranking measure that let's say using the measure (total sales) giving me the rank of category.&lt;BR /&gt;&lt;BR /&gt;I have measure for category rank :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;CatRanking&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;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so, this shows N/A when category and subcategory slicers are all selected.&lt;BR /&gt;&lt;BR /&gt;I can select one category and I get the category rank, good (Y)&lt;BR /&gt;When I unselect all categories and select a subcategory It returns 1 all the time, but I don't want to show anything&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;because this is for category rank&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;what should I do ?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Oct 2022 19:18:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-slicers-are-effecting-the-results-in-the-card/m-p/2837675#M90584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-12T19:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: two slicers are effecting the results in the card</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-slicers-are-effecting-the-results-in-the-card/m-p/2837995#M90618</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , if you create a rank on a category and add a subcategory column in the visual. Then rank will happen for category inside sub-category &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your options are&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RANKX (&lt;BR /&gt;ALL('Table'[CategoryName], 'Table'[SubCategoryName] ),&lt;BR /&gt;[total sales] , , DESC&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RANKX (&lt;BR /&gt;filter(ALL('Table'[CategoryName], 'Table'[SubCategoryName] ),'Table'[CategoryName] = max('Table'[CategoryName]) ),&lt;BR /&gt;[total sales] , , DESC&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For Rank Refer these links&lt;BR /&gt;&lt;A href="https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures" target="_blank"&gt;https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns" target="_blank"&gt;https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 01:36:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-slicers-are-effecting-the-results-in-the-card/m-p/2837995#M90618</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-10-13T01:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: two slicers are effecting the results in the card</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-slicers-are-effecting-the-results-in-the-card/m-p/2838137#M90628</link>
      <description>&lt;P&gt;Thank you but I assume you replied the same response for each of my 2 different questions.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I found the solution for this problem, it was easy I just didn't think about it...&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;when you use interactions like when you select category slicer don't affect it subcategory and vice-versa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it works now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 02:32:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-slicers-are-effecting-the-results-in-the-card/m-p/2838137#M90628</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-13T02:32:37Z</dc:date>
    </item>
  </channel>
</rss>

