<?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: Inverted Slicer Results in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inverted-Slicer-Results/m-p/4024286#M158844</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6799" data-lia-user-login="OwenAuger" class="lia-mention lia-mention-user"&gt;OwenAuger&lt;/a&gt;&amp;nbsp;Thanks for your contribution on this thread.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="770284" data-lia-user-login="pablo2000325" class="lia-mention lia-mention-user"&gt;pablo2000325&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;When creating a calculated table, it’s important to note that the data remains static regardless of filter or slicer options, as &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6799" data-lia-user-login="OwenAuger" class="lia-mention lia-mention-user"&gt;OwenAuger&lt;/a&gt;&amp;nbsp;mentioned. To implement this, follow these guidelines:&lt;/P&gt;
&lt;P&gt;1. Create a category dimension table (&lt;STRONG&gt;DO NOT&lt;/STRONG&gt; create a relationship with the fact table).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Categories = VALUES('table1'[Category])​&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Create a slicer and place the field [category] in the above dimension table on the slicer.&lt;/P&gt;
&lt;P&gt;3. Create a measure as below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Mesasure =
VAR _categories =
    ALLSELECTED ( 'Categories'[Category] )
RETURN
    CALCULATE (
        MAX ( 'table1'[hour] ),
        FILTER ( 'table1', NOT ( 'table1'[Category] IN _categories ) )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. Create a table visual, put the field&amp;nbsp;&lt;SPAN&gt;&lt;SPAN&gt;'table1'[Category] and the above measure onto it&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jul 2024 06:36:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-07-04T06:36:05Z</dc:date>
    <item>
      <title>Inverted Slicer Results</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inverted-Slicer-Results/m-p/4023727#M158805</link>
      <description>&lt;P&gt;I thought this would be rather straightforward but it's not been at all.&amp;nbsp; I have a slicer filtering on Category in a table which functions just fine.&amp;nbsp; Let's call this table1.&amp;nbsp; I'm trying to understand how I can create a dynamic table (table2) which contains all the items filtered from table1 using the slicer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Been researching this all day and I found the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;table2 =&lt;BR /&gt;FILTER(&lt;BR /&gt;ALL('table1'),&lt;BR /&gt;NOT('table1'[Category] IN VALUES('table1'[Category]))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;When I apply the slicer this doesn't return anything in table 2.&amp;nbsp; &amp;nbsp;Table2 is empty.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I return the inverted results of the slicer to populate table2 with those results unless there is another way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 22:01:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inverted-Slicer-Results/m-p/4023727#M158805</guid>
      <dc:creator>pablo2000325</dc:creator>
      <dc:date>2024-07-03T22:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Inverted Slicer Results</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inverted-Slicer-Results/m-p/4023901#M158815</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="770284" data-lia-user-login="pablo2000325" class="lia-mention lia-mention-user"&gt;pablo2000325&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A calculated table like &lt;STRONG&gt;table2&lt;/STRONG&gt; does not respond to filters in a report.&lt;/P&gt;
&lt;P&gt;It is processed as part of the semantic model refresh (in an unfiltered context), and from the report's point of view it is a static table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because all rows of &lt;STRONG&gt;table1&lt;/STRONG&gt; are visible in an unfiltered context, &lt;STRONG&gt;table2&lt;/STRONG&gt; is empty.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, a table expression like &lt;STRONG&gt;table2&lt;/STRONG&gt; can be used within a measure, as a step to compute some other result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the end result you are wanting based on &lt;STRONG&gt;table2&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;I can probably suggest some options depending how you want to use it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 01:51:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inverted-Slicer-Results/m-p/4023901#M158815</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2024-07-04T01:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Inverted Slicer Results</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inverted-Slicer-Results/m-p/4024071#M158832</link>
      <description>&lt;P&gt;So table1 has development hours allocated per user and what I want to do is create a table2 which summarizes those development hours for users NOT in the slicer.&amp;nbsp; The slicer currently adds the development hours based upon what is sliced so no issue with table 1.&amp;nbsp; I hope this makes sense and thanks again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 03:15:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inverted-Slicer-Results/m-p/4024071#M158832</guid>
      <dc:creator>pablo2000325</dc:creator>
      <dc:date>2024-07-04T03:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Inverted Slicer Results</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inverted-Slicer-Results/m-p/4024286#M158844</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6799" data-lia-user-login="OwenAuger" class="lia-mention lia-mention-user"&gt;OwenAuger&lt;/a&gt;&amp;nbsp;Thanks for your contribution on this thread.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="770284" data-lia-user-login="pablo2000325" class="lia-mention lia-mention-user"&gt;pablo2000325&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;When creating a calculated table, it’s important to note that the data remains static regardless of filter or slicer options, as &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6799" data-lia-user-login="OwenAuger" class="lia-mention lia-mention-user"&gt;OwenAuger&lt;/a&gt;&amp;nbsp;mentioned. To implement this, follow these guidelines:&lt;/P&gt;
&lt;P&gt;1. Create a category dimension table (&lt;STRONG&gt;DO NOT&lt;/STRONG&gt; create a relationship with the fact table).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Categories = VALUES('table1'[Category])​&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Create a slicer and place the field [category] in the above dimension table on the slicer.&lt;/P&gt;
&lt;P&gt;3. Create a measure as below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Mesasure =
VAR _categories =
    ALLSELECTED ( 'Categories'[Category] )
RETURN
    CALCULATE (
        MAX ( 'table1'[hour] ),
        FILTER ( 'table1', NOT ( 'table1'[Category] IN _categories ) )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. Create a table visual, put the field&amp;nbsp;&lt;SPAN&gt;&lt;SPAN&gt;'table1'[Category] and the above measure onto it&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 06:36:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inverted-Slicer-Results/m-p/4024286#M158844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-04T06:36:05Z</dc:date>
    </item>
  </channel>
</rss>

