<?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: Slicer DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-DAX/m-p/2439057#M65227</link>
    <description>&lt;P&gt;tamerj1... a big thank you to you!&lt;/P&gt;</description>
    <pubDate>Tue, 05 Apr 2022 21:13:16 GMT</pubDate>
    <dc:creator>matrix_user</dc:creator>
    <dc:date>2022-04-05T21:13:16Z</dc:date>
    <item>
      <title>Slicer DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-DAX/m-p/2437053#M65084</link>
      <description>&lt;P&gt;1) I am trying to get all my options in the slicer to show values. Currently, I can only see values in the cluster column visual for “Y”:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;2) If I click to “W” or “Q” or “M” no values show up in the chart:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;3) I have looked at the DAX for the measure “QTY Total” that is used for the chart:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;4) In my journey to find a solution, I changed the last portion of the DAX by replacing ‘Calendar’[Year] with [Month]:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5) With the change, the values for “Y” and "M" appears in the clustered columns visual - but nothing for “Q” or “W"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;6) How can I modify the DAX to include "Y", "M", "Q" and "W"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/f3hh4vzkkiz0agv/ScooterWorld.pbix?dl=0" target="_blank"&gt;https://www.dropbox.com/s/f3hh4vzkkiz0agv/ScooterWorld.pbix?dl=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 03:34:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-DAX/m-p/2437053#M65084</guid>
      <dc:creator>matrix_user</dc:creator>
      <dc:date>2022-04-05T03:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Slicer DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-DAX/m-p/2437199#M65088</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="329134" data-lia-user-login="matrix_user" class="lia-mention lia-mention-user"&gt;matrix_user&lt;/a&gt; , I think you trying axis slicer using one of the approaches used in this video&lt;/P&gt;
&lt;P&gt;Three approch from Guyinacube &lt;A href="https://www.youtube.com/watch?v=dYmzb5UMkXw" target="_blank"&gt;https://www.youtube.com/watch?v=dYmzb5UMkXw&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you need to use userelationship with few changes&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 05:18:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-DAX/m-p/2437199#M65088</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-04-05T05:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Slicer DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-DAX/m-p/2437472#M65107</link>
      <description>&lt;P&gt;Hi Amitcanddax,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nice to know other ways of building dynamic slicers but at this stage DAX is the way to go The DAX shown in the video is leaving me worse that the one I am trying to fix. Cheers&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 07:43:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-DAX/m-p/2437472#M65107</guid>
      <dc:creator>matrix_user</dc:creator>
      <dc:date>2022-04-05T07:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Slicer DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-DAX/m-p/2438423#M65162</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="329134" data-lia-user-login="matrix_user" class="lia-mention lia-mention-user"&gt;matrix_user&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;This is one of the simplest and greatest ideas I've ever seen and I really thank you for for posting this.&amp;nbsp;&lt;BR /&gt;A small fix and all good to go&amp;nbsp;&lt;A href="https://www.dropbox.com/t/vxCj7mCtgVRteRcN" target="_blank"&gt;https://www.dropbox.com/t/vxCj7mCtgVRteRcN&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="php"&gt;QTY Total : = 
SWITCH (
    SELECTEDVALUE ( Slicer[Index Desc], 1 ),
    1,
        CALCULATE (
            SUM ( ScooterSales[Sold Cash] ),
            TREATAS ( VALUES ( Slicer[Period] ), 'Calendar'[Year] )
        ),
    153,
        CALCULATE (
            SUM ( ScooterSales[Sold Cash] ),
            TREATAS ( VALUES ( Slicer[Period] ), 'Calendar'[YearQuarter] )
        ),
    165,
        CALCULATE (
            SUM ( ScooterSales[Sold Cash] ),
            TREATAS ( VALUES ( Slicer[Period] ), 'Calendar'[Month] )
        ),
    5,
        CALCULATE (
            SUM ( ScooterSales[Sold Cash] ),
            TREATAS ( VALUES ( Slicer[Period] ), 'Calendar'[Year&amp;amp;WeekNumber(a)] )
        ),
    CALCULATE (
        SUM ( ScooterSales[Sold Cash] ),
        TREATAS ( VALUES ( Slicer[Period] ), 'Calendar'[Year] )
    )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 14:37:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-DAX/m-p/2438423#M65162</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-05T14:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Slicer DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-DAX/m-p/2439057#M65227</link>
      <description>&lt;P&gt;tamerj1... a big thank you to you!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 21:13:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-DAX/m-p/2439057#M65227</guid>
      <dc:creator>matrix_user</dc:creator>
      <dc:date>2022-04-05T21:13:16Z</dc:date>
    </item>
  </channel>
</rss>

