<?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: Comparing 2 Nested Slicers in a Table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-2-Nested-Slicers-in-a-Table/m-p/2836136#M90504</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="424441" data-lia-user-login="Walt" class="lia-mention lia-mention-user"&gt;Walt&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you currently using a hierarchy slicer? What do 'single data type' refer to?&lt;/P&gt;
&lt;P&gt;Please share a sample .pbix for further research.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Eason&lt;/P&gt;</description>
    <pubDate>Wed, 12 Oct 2022 08:17:55 GMT</pubDate>
    <dc:creator>v-easonf-msft</dc:creator>
    <dc:date>2022-10-12T08:17:55Z</dc:date>
    <item>
      <title>Comparing 2 Nested Slicers in a Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-2-Nested-Slicers-in-a-Table/m-p/2820392#M89548</link>
      <description>&lt;P&gt;Is there an easy way to compare the 2 nested slicers?&lt;BR /&gt;Example1:&lt;BR /&gt;Select: Slicer1 - Parent2, Group1, Type3 and Type4&lt;BR /&gt;Select: Slicer2 – Parent1, Group2 (Selecting all types in Group2)&lt;BR /&gt;Slicer1 = 5&lt;BR /&gt;Slicer2 = 10&lt;BR /&gt;Measures:&lt;BR /&gt;DivideSlicers = Divide(Slicer2,Slicer1) this would equal 2&lt;/P&gt;&lt;P&gt;Example2:&lt;BR /&gt;Select: Slicer1 – Type3&lt;BR /&gt;Select: Slicer2 – Type7&lt;BR /&gt;Slicer1 = 3&lt;BR /&gt;Slicer2 = 4&lt;BR /&gt;Measure:&lt;BR /&gt;DivideSlicers = Divide(Slicer2,Slicer1) this would equal 1.33&lt;BR /&gt;&lt;BR /&gt;Slicer1&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Parent1&lt;UL&gt;&lt;LI&gt;Group1&lt;UL&gt;&lt;LI&gt;type1&lt;/LI&gt;&lt;LI&gt;type2&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Group2&lt;UL&gt;&lt;LI&gt;Type5&lt;/LI&gt;&lt;LI&gt;Type6&lt;/LI&gt;&lt;LI&gt;Type7&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Parent2&lt;UL&gt;&lt;LI&gt;Group1&lt;UL&gt;&lt;LI&gt;Type1 - Value 6&lt;/LI&gt;&lt;LI&gt;Type3 – Value 3&lt;/LI&gt;&lt;LI&gt;Type4 – Value 2&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Slicer2&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Parent1&lt;UL&gt;&lt;LI&gt;Group1&lt;UL&gt;&lt;LI&gt;type1&lt;/LI&gt;&lt;LI&gt;type2&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Group2&lt;UL&gt;&lt;LI&gt;Type5 – Value 2&lt;/LI&gt;&lt;LI&gt;Type6 – Value 4&lt;/LI&gt;&lt;LI&gt;Type7 – Value 4&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Parent2…&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2022 16:37:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-2-Nested-Slicers-in-a-Table/m-p/2820392#M89548</guid>
      <dc:creator>Walt</dc:creator>
      <dc:date>2022-10-05T16:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing 2 Nested Slicers in a Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-2-Nested-Slicers-in-a-Table/m-p/2822541#M89625</link>
      <description>&lt;P&gt;Hi，&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="424441" data-lia-user-login="Walt" class="lia-mention lia-mention-user"&gt;Walt&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to copy a new table and filter the data separately by these two slicers to compare the results.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Result =
SUM ( 'Table1'[value] ) / SUM ( 'Table2'[value] )
&lt;/LI-CODE&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Eason&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 11:17:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-2-Nested-Slicers-in-a-Table/m-p/2822541#M89625</guid>
      <dc:creator>v-easonf-msft</dc:creator>
      <dc:date>2022-10-06T11:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing 2 Nested Slicers in a Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-2-Nested-Slicers-in-a-Table/m-p/2823639#M89703</link>
      <description>&lt;P&gt;I can currently get single data types from each slicer, however i cant get multiple types from a single slicer.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 18:10:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-2-Nested-Slicers-in-a-Table/m-p/2823639#M89703</guid>
      <dc:creator>Walt</dc:creator>
      <dc:date>2022-10-06T18:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing 2 Nested Slicers in a Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-2-Nested-Slicers-in-a-Table/m-p/2836136#M90504</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="424441" data-lia-user-login="Walt" class="lia-mention lia-mention-user"&gt;Walt&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you currently using a hierarchy slicer? What do 'single data type' refer to?&lt;/P&gt;
&lt;P&gt;Please share a sample .pbix for further research.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Eason&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 08:17:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-2-Nested-Slicers-in-a-Table/m-p/2836136#M90504</guid>
      <dc:creator>v-easonf-msft</dc:creator>
      <dc:date>2022-10-12T08:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing 2 Nested Slicers in a Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-2-Nested-Slicers-in-a-Table/m-p/2849941#M91312</link>
      <description>&lt;P&gt;Yes, they are Hierarchy Slicers.&lt;BR /&gt;Single Data types like in the examples, 1Type 2Type and so on.&lt;BR /&gt;Here is another Example:&lt;BR /&gt;Slicer 1 I select..&lt;BR /&gt;From in Parent 1&lt;BR /&gt;in Group 2&lt;BR /&gt;1Type it has a value of 10&lt;BR /&gt;&lt;BR /&gt;Then Slicer 2 Select 2 Types&lt;BR /&gt;From Parent 2&lt;BR /&gt;in Group 2&lt;BR /&gt;3Type with a value of 20&lt;BR /&gt;and&lt;BR /&gt;4Type with a value of 30&lt;BR /&gt;&lt;BR /&gt;I would like to be able to compare the 1 selected type in Slicer 1 to the 2 selected types in Slicer 2.&lt;BR /&gt;So I could say... AVG the Slicer 2 Values to 25 or I could Sum them to 50 then compare them to the Slicer 1 Value of 10.&amp;nbsp;&lt;BR /&gt;SUM(Slicer2) / SUM (Slicer1) or Average(Slicer2)/Average(Slicer1) or Average(Slicer2)/SUM(Slicer1)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 22:14:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-2-Nested-Slicers-in-a-Table/m-p/2849941#M91312</guid>
      <dc:creator>Walt</dc:creator>
      <dc:date>2022-10-18T22:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing 2 Nested Slicers in a Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-2-Nested-Slicers-in-a-Table/m-p/2850173#M91325</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="424441" data-lia-user-login="Walt" class="lia-mention lia-mention-user"&gt;Walt&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Still just confused by part of your explanation, whether your slicer is multi-select or not, the final result should be aggregated.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Do aggregation operations like sum and average of fields in the table work in your case?&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure2 = Average(Slicer2[Value])/SUM(Slicer1[Value])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Eason&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 02:39:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-2-Nested-Slicers-in-a-Table/m-p/2850173#M91325</guid>
      <dc:creator>v-easonf-msft</dc:creator>
      <dc:date>2022-10-19T02:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing 2 Nested Slicers in a Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-2-Nested-Slicers-in-a-Table/m-p/2854555#M91681</link>
      <description>&lt;P&gt;Looking at your Example.&amp;nbsp; I am trying to accomplish something different.&amp;nbsp; I have a it setup as 3 seperate Tables.&amp;nbsp; The Parent, Type, and Group are identical.&amp;nbsp; Should I be doing something else?&lt;BR /&gt;&lt;BR /&gt;Slicer1(Created with Dax):&lt;BR /&gt;- Parent&lt;BR /&gt;- Type&lt;BR /&gt;- Group&lt;BR /&gt;Slicer2(Created with Dax):&lt;BR /&gt;- Parent&lt;BR /&gt;- Type&lt;BR /&gt;- Group&lt;BR /&gt;&lt;BR /&gt;DataValues (Data Source):&lt;BR /&gt;- Parent&lt;BR /&gt;- Type&lt;BR /&gt;- Group&lt;BR /&gt;- Values&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 22:47:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-2-Nested-Slicers-in-a-Table/m-p/2854555#M91681</guid>
      <dc:creator>Walt</dc:creator>
      <dc:date>2022-10-20T22:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing 2 Nested Slicers in a Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-2-Nested-Slicers-in-a-Table/m-p/2854614#M91699</link>
      <description>&lt;P&gt;I was able to find the solution here.&amp;nbsp; Thanks for you help&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Two-slicer-on-same-column/m-p/516318/thread-id/241351" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/Two-slicer-on-same-column/m-p/516318/thread-id/241351&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 00:29:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-2-Nested-Slicers-in-a-Table/m-p/2854614#M91699</guid>
      <dc:creator>Walt</dc:creator>
      <dc:date>2022-10-21T00:29:45Z</dc:date>
    </item>
  </channel>
</rss>

