<?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: How to create slicer with categories in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-slicer-with-categories/m-p/1379602#M25208</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="84720" data-lia-user-login="GAURAV7781" class="lia-mention lia-mention-user"&gt;GAURAV7781&lt;/a&gt;&amp;nbsp;I see many other viz on this page, thus the result of your Area viz is an integrated effects under all possible filtering on viz. Pls try this if you'd like to make Area viz independant of other filterings,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure =
VAR __selected =
    CONCATENATEX (
        CALCULATETABLE ( ALLSELECTED ( Categories[Category] ), ALLEXCEPT ( Categories, Categories[Category] ) ),
        Categories[Category]
    )
RETURN
    SWITCH (
        __selected,
        "AB", "Car",
        "ABE", "Bike",
        "ABCDE", "Plane",
        "Other option"
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Better to attach a mockup file for further debugging if the issue lingers.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Sep 2020 09:49:26 GMT</pubDate>
    <dc:creator>CNENFRNL</dc:creator>
    <dc:date>2020-09-18T09:49:26Z</dc:date>
    <item>
      <title>How to create slicer with categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-slicer-with-categories/m-p/1378439#M25166</link>
      <description>&lt;P&gt;I have a categories&lt;/P&gt;&lt;P&gt;Categories&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;&lt;P&gt;E&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Desired category output is&lt;/P&gt;&lt;P&gt;A,B = Car&lt;/P&gt;&lt;P&gt;A,B,E=Bike&lt;/P&gt;&lt;P&gt;A,B,C,D,E=Plane&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 18:46:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-slicer-with-categories/m-p/1378439#M25166</guid>
      <dc:creator>GAURAV7781</dc:creator>
      <dc:date>2020-09-17T18:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to create slicer with categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-slicer-with-categories/m-p/1378724#M25179</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="84720" data-lia-user-login="GAURAV7781" class="lia-mention lia-mention-user"&gt;GAURAV7781&lt;/a&gt;&amp;nbsp;I have a coarse solution if I understand your issue correctly.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure =
VAR __selected =
    CONCATENATEX ( ALLSELECTED ( Categories[Category] ), Categories[Category] )
RETURN
    SWITCH (
        __selected,
        "AB", "Car",
        "ABE", "Bike",
        "ABCDE", "Plane",
        "Other option"
    )&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 22:31:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-slicer-with-categories/m-p/1378724#M25179</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2020-09-17T22:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to create slicer with categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-slicer-with-categories/m-p/1379024#M25192</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="250150" data-lia-user-login="CNENFRNL" class="lia-mention lia-mention-user"&gt;CNENFRNL&lt;/a&gt;&amp;nbsp;hi is there a way to make desired column as slicer . My user want to select car and bike as filter&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 03:25:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-slicer-with-categories/m-p/1379024#M25192</guid>
      <dc:creator>GAURAV7781</dc:creator>
      <dc:date>2020-09-18T03:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to create slicer with categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-slicer-with-categories/m-p/1379466#M25204</link>
      <description>&lt;P&gt;I tried W, S &amp;amp; rest are working&amp;nbsp;&lt;/P&gt;&lt;P&gt;only when i am select WS together not working&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="250150" data-lia-user-login="CNENFRNL" class="lia-mention lia-mention-user"&gt;CNENFRNL&lt;/a&gt;&amp;nbsp;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 08:23:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-slicer-with-categories/m-p/1379466#M25204</guid>
      <dc:creator>GAURAV7781</dc:creator>
      <dc:date>2020-09-18T08:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create slicer with categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-slicer-with-categories/m-p/1379602#M25208</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="84720" data-lia-user-login="GAURAV7781" class="lia-mention lia-mention-user"&gt;GAURAV7781&lt;/a&gt;&amp;nbsp;I see many other viz on this page, thus the result of your Area viz is an integrated effects under all possible filtering on viz. Pls try this if you'd like to make Area viz independant of other filterings,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure =
VAR __selected =
    CONCATENATEX (
        CALCULATETABLE ( ALLSELECTED ( Categories[Category] ), ALLEXCEPT ( Categories, Categories[Category] ) ),
        Categories[Category]
    )
RETURN
    SWITCH (
        __selected,
        "AB", "Car",
        "ABE", "Bike",
        "ABCDE", "Plane",
        "Other option"
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Better to attach a mockup file for further debugging if the issue lingers.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 09:49:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-slicer-with-categories/m-p/1379602#M25208</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2020-09-18T09:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to create slicer with categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-slicer-with-categories/m-p/1381132#M25242</link>
      <description>&lt;P&gt;Hi ,&lt;BR /&gt;&lt;BR /&gt;This is the least to say a creative solution to the problem! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;I'm pretty sure if you try "SW" instead of "WS" it will work.&lt;BR /&gt;&lt;BR /&gt;If it doesnt, i'll help you with a different approach.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Robbe&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 21:30:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-slicer-with-categories/m-p/1381132#M25242</guid>
      <dc:creator>RobbeVL</dc:creator>
      <dc:date>2020-09-18T21:30:25Z</dc:date>
    </item>
  </channel>
</rss>

