<?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 Dynamic selection on Slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-selection-on-Slicer/m-p/3739199#M145779</link>
    <description>&lt;P&gt;I have 12 quarters of data in slicer, need a dynamic slicer which will select default 2022 Q4, 2022 Q3 and 2021 Q4 and other quarters should be visible and user can select those if required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2020 Q1&lt;/P&gt;&lt;P&gt;2020 Q2&lt;/P&gt;&lt;P&gt;2020 Q3&lt;/P&gt;&lt;P&gt;2020 Q4&lt;/P&gt;&lt;P&gt;2021 Q1&lt;/P&gt;&lt;P&gt;2021 Q2&lt;/P&gt;&lt;P&gt;2021 Q3&lt;/P&gt;&lt;P&gt;2021 Q4&lt;/P&gt;&lt;P&gt;2022 Q1&lt;/P&gt;&lt;P&gt;2022 Q2&lt;/P&gt;&lt;P&gt;2022 Q3&lt;/P&gt;&lt;P&gt;2022 Q4&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2024 07:24:46 GMT</pubDate>
    <dc:creator>hiren89vora</dc:creator>
    <dc:date>2024-03-04T07:24:46Z</dc:date>
    <item>
      <title>Dynamic selection on Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-selection-on-Slicer/m-p/3739199#M145779</link>
      <description>&lt;P&gt;I have 12 quarters of data in slicer, need a dynamic slicer which will select default 2022 Q4, 2022 Q3 and 2021 Q4 and other quarters should be visible and user can select those if required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2020 Q1&lt;/P&gt;&lt;P&gt;2020 Q2&lt;/P&gt;&lt;P&gt;2020 Q3&lt;/P&gt;&lt;P&gt;2020 Q4&lt;/P&gt;&lt;P&gt;2021 Q1&lt;/P&gt;&lt;P&gt;2021 Q2&lt;/P&gt;&lt;P&gt;2021 Q3&lt;/P&gt;&lt;P&gt;2021 Q4&lt;/P&gt;&lt;P&gt;2022 Q1&lt;/P&gt;&lt;P&gt;2022 Q2&lt;/P&gt;&lt;P&gt;2022 Q3&lt;/P&gt;&lt;P&gt;2022 Q4&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 07:24:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-selection-on-Slicer/m-p/3739199#M145779</guid>
      <dc:creator>hiren89vora</dc:creator>
      <dc:date>2024-03-04T07:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection on Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-selection-on-Slicer/m-p/3740815#M145870</link>
      <description>&lt;P&gt;I know what you are trying to do, YoY and QoQ.&amp;nbsp; There is no default filter that can handle that scenario but you can kinda fudge it if your calendar table gets refreshed sufficiently frequently.&amp;nbsp; Then you can include a calculated column that can include that default selection.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 18:46:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-selection-on-Slicer/m-p/3740815#M145870</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-03-04T18:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection on Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-selection-on-Slicer/m-p/3741504#M145910</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="200098" data-lia-user-login="hiren89vora" class="lia-mention lia-mention-user"&gt;hiren89vora&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Here some steps that I want to share, you can check them if they suitable for your requirement.&lt;BR /&gt;Here is my test data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Create a table&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table 2 = 
    DATATABLE(
        "Dirty Status",BOOLEAN,
        {
            {"True"},
            {"False"}
        }
    )&lt;/LI-CODE&gt;
&lt;P&gt;For the slicer that comes with Power BI, we cannot get it. But we can get the three points in the "Visualizations", please click the "Get more visual":&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Get the visual&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Create the Preselected Slicer&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Fianl output&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If you want to restet, you can click the button&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Albert He&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 02:58:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-selection-on-Slicer/m-p/3741504#M145910</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-05T02:58:36Z</dc:date>
    </item>
  </channel>
</rss>

