<?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: Table visual Interaction based on the Pie Chart slice selection in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-visual-Interaction-based-on-the-Pie-Chart-slice-selection/m-p/4307257#M171042</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I can't reproduce your data, can you provide a simplified version of the PBIX file?&lt;/P&gt;
&lt;P&gt;We can better understand the problem and help you.&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;&lt;SPAN&gt;How to provide sample data in the Power BI Forum - Microsoft Fabric Community&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please remove any sensitive data in advance. If uploading pbix files please do not log into your account.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Dengliang Li&lt;BR /&gt;&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Nov 2024 08:31:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-29T08:31:03Z</dc:date>
    <item>
      <title>Table visual Interaction based on the Pie Chart slice selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-visual-Interaction-based-on-the-Pie-Chart-slice-selection/m-p/4295503#M170499</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I want to showcase the table visual data based on the pie chart slice selection.&lt;/P&gt;&lt;P&gt;I have a table already with below data with different columns (cost,scope,schedule etc..) , taking "scope" column as a example here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample Source :&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;xxxbb1&lt;/TD&gt;&lt;TD&gt;xxxbb1&lt;/TD&gt;&lt;TD&gt;yyy661&lt;/TD&gt;&lt;TD&gt;yyy661&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;RPA&lt;/TD&gt;&lt;TD&gt;GenAI&lt;/TD&gt;&lt;TD&gt;RPA&lt;/TD&gt;&lt;TD&gt;GenAI&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;AMBER&lt;/TD&gt;&lt;TD&gt;Green&lt;/TD&gt;&lt;TD&gt;Green&lt;/TD&gt;&lt;TD&gt;Red&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the below table we have used the DAX which is combined the colors and showing higher risk color in the table (&lt;FONT size="2"&gt;&lt;STRONG&gt;eg : for xxxbb1 , we have 2 rows in the source data , Amber &amp;amp; Green results - based on the offer type RPA &amp;amp; GENAI, so in that case Amber is the higher risk than Green , so table shows Amber color icon for xxxbb1&lt;/STRONG&gt;&lt;/FONT&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX used :&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;&lt;STRONG&gt;Scope Combined&lt;/STRONG&gt; =&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;VAR A = 'Test Delivery Updates'[Account Name]&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;VAR B = ADDCOLUMNS(SUMMARIZE(FILTER('Test Delivery Updates','Test Delivery Updates'[Account Name]=A),'Test Delivery Updates'[Scope logic]),"Scope",SWITCH('Test Delivery Updates'[Scope logic],"Red",3,"Amber",2,"Green",1,0))&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;RETURN MAXX(TOPN(1,B,[Scope]),'Test Delivery Updates'[Scope logic])&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Scope Dynamic =&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;IF(&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; ISFILTERED('Test Delivery Updates'[Offer Type]) &amp;amp;&amp;amp; HASONEVALUE('Test Delivery Updates'[Offer Type]),&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; MAX('Test Delivery Updates'[Scope logic]), &lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; MAX('Test Delivery Updates'[Scope Combined])&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scope dynamic (scope) is the DAX applied in the table data , based on the Offer type selection (RPA or GENAI) , the color will change. likewise based on the pie chart slice selection the color should change as per the logic .&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When we select Amber in the pie chart , xxxbb1 account is showing , but the same account should show when we click Green in the pie chart as well , but it is not . this is the expectation here .. because we have Green rows also there in the both accounts xxxbb1 &amp;amp; yyy661 .&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Hope it is understandable , please help to achieve this ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;DK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 14:43:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-visual-Interaction-based-on-the-Pie-Chart-slice-selection/m-p/4295503#M170499</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-21T14:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Table visual Interaction based on the Pie Chart slice selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-visual-Interaction-based-on-the-Pie-Chart-slice-selection/m-p/4296307#M170553</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I did not encounter your problem in my testing.&lt;BR /&gt;Both account names are displayed when green is selected for the pie chart.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The data table is shown below.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Please see the attached pbix for reference.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Dengliang Li&lt;BR /&gt;&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 03:06:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-visual-Interaction-based-on-the-Pie-Chart-slice-selection/m-p/4296307#M170553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-22T03:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Table visual Interaction based on the Pie Chart slice selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-visual-Interaction-based-on-the-Pie-Chart-slice-selection/m-p/4296705#M170568</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp; thanks for your solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I noticed that you have used "scope logic" as a values in pie chart instead of "scope combined" , so that the table is not reflecting the both account (different color icons) , but is there any chance to change the color icons in the table visual based on the pie chart selection ? because both accounts are visible when we click "Green" but from the stalkholders/clients side they cannot identify it directly ..&lt;BR /&gt;thanks for understanding &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 07:37:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-visual-Interaction-based-on-the-Pie-Chart-slice-selection/m-p/4296705#M170568</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-22T07:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Table visual Interaction based on the Pie Chart slice selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-visual-Interaction-based-on-the-Pie-Chart-slice-selection/m-p/4305643#M170961</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp; any lead pls ?&lt;/P&gt;&lt;P&gt;I am using scope logic as a calculated column created based on some logics , but your side you have just created a new column with name of the colors ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i am using the same logic as of you ..&lt;/P&gt;&lt;P&gt;I am getting this result because of the table having unpivot column applied.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;If i choose count(distinct) :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 07:36:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-visual-Interaction-based-on-the-Pie-Chart-slice-selection/m-p/4305643#M170961</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-28T07:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Table visual Interaction based on the Pie Chart slice selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-visual-Interaction-based-on-the-Pie-Chart-slice-selection/m-p/4307257#M171042</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I can't reproduce your data, can you provide a simplified version of the PBIX file?&lt;/P&gt;
&lt;P&gt;We can better understand the problem and help you.&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;&lt;SPAN&gt;How to provide sample data in the Power BI Forum - Microsoft Fabric Community&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please remove any sensitive data in advance. If uploading pbix files please do not log into your account.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Dengliang Li&lt;BR /&gt;&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 08:31:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-visual-Interaction-based-on-the-Pie-Chart-slice-selection/m-p/4307257#M171042</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-29T08:31:03Z</dc:date>
    </item>
  </channel>
</rss>

