<?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 Color Formatting Top N with multiple drill down in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Color-Formatting-Top-N-with-multiple-drill-down/m-p/2919189#M95697</link>
    <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need a help , I m trying to achieve color formatting top 3 categories while drill down.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example category I want top 3 values as red and others are blue. When I drill down to sub category1, I want to see top 3 values as red and others are blue. Again if I drill down sub category 2 then same I have to see.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can anyone help on this ?&lt;/P&gt;</description>
    <pubDate>Mon, 21 Nov 2022 15:37:20 GMT</pubDate>
    <dc:creator>krishb1414</dc:creator>
    <dc:date>2022-11-21T15:37:20Z</dc:date>
    <item>
      <title>Color Formatting Top N with multiple drill down</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Color-Formatting-Top-N-with-multiple-drill-down/m-p/2919189#M95697</link>
      <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need a help , I m trying to achieve color formatting top 3 categories while drill down.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example category I want top 3 values as red and others are blue. When I drill down to sub category1, I want to see top 3 values as red and others are blue. Again if I drill down sub category 2 then same I have to see.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can anyone help on this ?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 15:37:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Color-Formatting-Top-N-with-multiple-drill-down/m-p/2919189#M95697</guid>
      <dc:creator>krishb1414</dc:creator>
      <dc:date>2022-11-21T15:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Color Formatting Top N with multiple drill down</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Color-Formatting-Top-N-with-multiple-drill-down/m-p/2920369#M95757</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="472543" data-lia-user-login="krishb1414" class="lia-mention lia-mention-user"&gt;krishb1414&lt;/a&gt; , First of that you need to switch rank based on isinscope and color based on that too&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assume yiu have three rank Var or measures&lt;/P&gt;
&lt;P&gt;example&lt;/P&gt;
&lt;P&gt;Cat Rank = rankx(allselected(Dim[Category]), [Measure],,desc,dense) // same way others&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Switch(True() ,&lt;/P&gt;
&lt;P&gt;isinscope(Dim[Sub Category 2]) , [Sub Cat2 Rank],&lt;/P&gt;
&lt;P&gt;isinscope(Dim[Sub Category 1]) , [Sub Cat1 Rank],&lt;/P&gt;
&lt;P&gt;isinscope(Dim[Category]) , [Cat Rank]&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Same way create color measure and use that in conditional formatting using field value option&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Switch(True() ,&lt;/P&gt;
&lt;P&gt;isinscope(Dim[Sub Category 2]) &amp;amp;&amp;amp;&amp;nbsp; [Sub Cat2 Rank] &amp;lt;= 3, "Red",&lt;/P&gt;
&lt;P&gt;isinscope(Dim[Sub Category 1]) &amp;amp;&amp;amp;&amp;nbsp; [Sub Cat1 Rank]&amp;lt;= 3, "Red",&lt;/P&gt;
&lt;P&gt;isinscope(Dim[Category]) &amp;amp;&amp;amp;&amp;nbsp; [Cat Rank] &amp;lt;= 3, "Red", "Blue"&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IsInScope - Switch Rank at different levels: &lt;A href="https://youtu.be/kh0gezKICEM" target="_blank"&gt;https://youtu.be/kh0gezKICEM &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to do conditional formatting by measure and apply it on pie? &lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=RqBb5eBf_I4&amp;amp;list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=RqBb5eBf_I4&amp;amp;list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/1682539" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/1682539&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pane-66e0afcb15f3" target="_blank" rel="noopener"&gt;https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pane-66e0afcb15f3&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 04:29:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Color-Formatting-Top-N-with-multiple-drill-down/m-p/2920369#M95757</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-11-22T04:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Color Formatting Top N with multiple drill down</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Color-Formatting-Top-N-with-multiple-drill-down/m-p/2920809#M95777</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp; This is working for bar graph but it is not working for decomposition tree visual, can you help me how to do that ?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 07:55:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Color-Formatting-Top-N-with-multiple-drill-down/m-p/2920809#M95777</guid>
      <dc:creator>krishb1414</dc:creator>
      <dc:date>2022-11-22T07:55:04Z</dc:date>
    </item>
  </channel>
</rss>

