<?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: Custom Slicer using DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Slicer-using-DAX/m-p/3522621#M135326</link>
    <description>&lt;P&gt;HI,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;use has&amp;nbsp;&lt;SPAN&gt;HASONEFILTER()&amp;nbsp; this give you ability to select one value and give output in boolean value(true, false)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;you can use IF() function&amp;nbsp; to implement your requirnment&lt;BR /&gt;like&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;result = 
switch(true(),
    HASONEFILTER('tablename'[country]), your expression,

     HASONEFILTER('tablename'[month]),your expression,

    HASONEFILTER('tablename'[product]), your expression,

    HASONEFILTER('tablename'[category]), your expression,

    "select a single value")

here your expression means your calculation part&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2023 14:10:26 GMT</pubDate>
    <dc:creator>Dangar332</dc:creator>
    <dc:date>2023-11-08T14:10:26Z</dc:date>
    <item>
      <title>Custom Slicer using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Slicer-using-DAX/m-p/3522595#M135321</link>
      <description>&lt;P&gt;I have a section of slicer visuals having slicers of selecting Month, Country, Product and Category and a section of a card visual and table visual. The card visual and the table visual gives garbage values when I select multiple values in the slicer visuals. How can I use DAX and show a message on the place of the card and table visual showcasing to select a single value and when a single value is selected the values are displayed.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 13:57:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Slicer-using-DAX/m-p/3522595#M135321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-08T13:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Slicer using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Slicer-using-DAX/m-p/3522621#M135326</link>
      <description>&lt;P&gt;HI,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;use has&amp;nbsp;&lt;SPAN&gt;HASONEFILTER()&amp;nbsp; this give you ability to select one value and give output in boolean value(true, false)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;you can use IF() function&amp;nbsp; to implement your requirnment&lt;BR /&gt;like&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;result = 
switch(true(),
    HASONEFILTER('tablename'[country]), your expression,

     HASONEFILTER('tablename'[month]),your expression,

    HASONEFILTER('tablename'[product]), your expression,

    HASONEFILTER('tablename'[category]), your expression,

    "select a single value")

here your expression means your calculation part&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 14:10:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Slicer-using-DAX/m-p/3522621#M135326</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2023-11-08T14:10:26Z</dc:date>
    </item>
  </channel>
</rss>

