<?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 Using a slicer to include values, not exclude in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-a-slicer-to-include-values-not-exclude/m-p/3110712#M109858</link>
    <description>&lt;P&gt;Hi, I have a table of records that have various statuses as a column. For example, the statuses are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Approved&lt;/LI&gt;&lt;LI&gt;Closed Won&lt;/LI&gt;&lt;LI&gt;Closed Lost&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The users would like to see &lt;EM&gt;only&lt;/EM&gt; Approved and Closed Won values by default on the page. In addition, they may also want to "add in" the Closed Lost values to see those as well. However I'm getting stuck trying to use a slicer to&amp;nbsp;&lt;EM&gt;add in&lt;/EM&gt; values and show more records on the page, rather than exclude.&lt;/P&gt;&lt;P&gt;The easiest way would be to add a slicer that says "Exclude Closed Lost" and have it ON by default. And then for them to see Closed Lost they&amp;nbsp;&lt;EM&gt;uncheck&lt;/EM&gt; it to then show all values. But this logic is convoluted and could trip up users.&lt;/P&gt;&lt;P&gt;Instead I'd like to have an "Include Closed Lost" slicer that will then additionally show the Closed Lost records when checked. Otherwise by default, it should be unchecked and&amp;nbsp;&lt;EM&gt;only&lt;/EM&gt; show Approved and Closed Won records.&lt;/P&gt;&lt;P&gt;Is there a way to do this? I've tried using Data Groups, experimenting with SWITCH statements, as well as trying various filters "on this page" but I can't get it working properly.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;P&gt;- Sean&lt;/P&gt;</description>
    <pubDate>Fri, 03 Mar 2023 15:25:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-03-03T15:25:37Z</dc:date>
    <item>
      <title>Using a slicer to include values, not exclude</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-a-slicer-to-include-values-not-exclude/m-p/3110712#M109858</link>
      <description>&lt;P&gt;Hi, I have a table of records that have various statuses as a column. For example, the statuses are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Approved&lt;/LI&gt;&lt;LI&gt;Closed Won&lt;/LI&gt;&lt;LI&gt;Closed Lost&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The users would like to see &lt;EM&gt;only&lt;/EM&gt; Approved and Closed Won values by default on the page. In addition, they may also want to "add in" the Closed Lost values to see those as well. However I'm getting stuck trying to use a slicer to&amp;nbsp;&lt;EM&gt;add in&lt;/EM&gt; values and show more records on the page, rather than exclude.&lt;/P&gt;&lt;P&gt;The easiest way would be to add a slicer that says "Exclude Closed Lost" and have it ON by default. And then for them to see Closed Lost they&amp;nbsp;&lt;EM&gt;uncheck&lt;/EM&gt; it to then show all values. But this logic is convoluted and could trip up users.&lt;/P&gt;&lt;P&gt;Instead I'd like to have an "Include Closed Lost" slicer that will then additionally show the Closed Lost records when checked. Otherwise by default, it should be unchecked and&amp;nbsp;&lt;EM&gt;only&lt;/EM&gt; show Approved and Closed Won records.&lt;/P&gt;&lt;P&gt;Is there a way to do this? I've tried using Data Groups, experimenting with SWITCH statements, as well as trying various filters "on this page" but I can't get it working properly.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;P&gt;- Sean&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 15:25:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-a-slicer-to-include-values-not-exclude/m-p/3110712#M109858</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-03T15:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using a slicer to include values, not exclude</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-a-slicer-to-include-values-not-exclude/m-p/3110931#M109884</link>
      <description>&lt;P&gt;hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;maybe you can try to use field parameter to switch between two measures, one with, one without&amp;nbsp;&lt;SPAN&gt;Closed Lost.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 17:37:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-a-slicer-to-include-values-not-exclude/m-p/3110931#M109884</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-03-03T17:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using a slicer to include values, not exclude</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-a-slicer-to-include-values-not-exclude/m-p/3110976#M109890</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;.&amp;nbsp;I wasn't aware of this new preview feature. I'll try this as a solution.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 18:15:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-a-slicer-to-include-values-not-exclude/m-p/3110976#M109890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-03T18:15:18Z</dc:date>
    </item>
  </channel>
</rss>

