<?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: Removing months from slicer with no data in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Removing-months-from-slicer-with-no-data/m-p/3589600#M1180098</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="435640" data-lia-user-login="o_belov" class="lia-mention lia-mention-user"&gt;o_belov&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That option is unchecked and it still shows the months with no data.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Dec 2023 18:03:02 GMT</pubDate>
    <dc:creator>fern7</dc:creator>
    <dc:date>2023-12-18T18:03:02Z</dc:date>
    <item>
      <title>Removing months from slicer with no data</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Removing-months-from-slicer-with-no-data/m-p/3589573#M1180091</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table that I have uploaded to powerBI with dates ranging from begininning of July till end of November. I had put a slicer on the dashboard in dropdown view. However months from Jan - June have no data. Is there a way for the slicer to show the viewer of the dashboard only options July - November instead of showing all the months?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 17:42:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Removing-months-from-slicer-with-no-data/m-p/3589573#M1180091</guid>
      <dc:creator>fern7</dc:creator>
      <dc:date>2023-12-18T17:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Removing months from slicer with no data</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Removing-months-from-slicer-with-no-data/m-p/3589591#M1180095</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="662440" data-lia-user-login="fern7" class="lia-mention lia-mention-user"&gt;fern7&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;You've done some transformations of your dates?&lt;BR /&gt;First - try unselect "Show items with no data".&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 17:53:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Removing-months-from-slicer-with-no-data/m-p/3589591#M1180095</guid>
      <dc:creator>o_belov</dc:creator>
      <dc:date>2023-12-18T17:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Removing months from slicer with no data</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Removing-months-from-slicer-with-no-data/m-p/3589600#M1180098</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="435640" data-lia-user-login="o_belov" class="lia-mention lia-mention-user"&gt;o_belov&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That option is unchecked and it still shows the months with no data.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 18:03:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Removing-months-from-slicer-with-no-data/m-p/3589600#M1180098</guid>
      <dc:creator>fern7</dc:creator>
      <dc:date>2023-12-18T18:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Removing months from slicer with no data</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Removing-months-from-slicer-with-no-data/m-p/3589625#M1180106</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="662440" data-lia-user-login="fern7" class="lia-mention lia-mention-user"&gt;fern7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How did you get the names of the months from the dates?&lt;BR /&gt;Do you use an auxiliary calendar table of type dimDate in the model?&lt;/P&gt;&lt;P&gt;If you use month from&amp;nbsp;auxiliary calendar table, then create measure for slicer, like&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IsDateInScope =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;financials&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;IN&lt;/SPAN&gt; &lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;dimDate&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;add it in filter pane for slicer and choose is 1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Dec 2023 18:23:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Removing-months-from-slicer-with-no-data/m-p/3589625#M1180106</guid>
      <dc:creator>o_belov</dc:creator>
      <dc:date>2023-12-18T18:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Removing months from slicer with no data</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Removing-months-from-slicer-with-no-data/m-p/3589639#M1180107</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="662440" data-lia-user-login="fern7" class="lia-mention lia-mention-user"&gt;fern7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would a measure like this help?&amp;nbsp; You can filter your visual with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;_Include = 
VAR _CurrDt = SELECTEDVALUE( 'Date'[Date] )
VAR _MinDt =
    CALCULATE(
        MIN( 'FactTable'[Date] ),
        ALL( 'FactTable'[Date] )
    )
VAR _MaxDt =
    CALCULATE(
        MAX( 'FactTable'[Date] ),
        ALL( 'FactTable'[Date] )
    )
RETURN
    IF(
        _CurrDt &amp;gt;= _MinDt
            &amp;amp;&amp;amp; _CurrDt &amp;lt;= _MaxDt,
        1
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;SELECTEDVALUE(&lt;/FONT&gt;&lt;/STRONG&gt; may have to be replaced with &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;MAX(&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;depending on how you intend to use it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 18:53:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Removing-months-from-slicer-with-no-data/m-p/3589639#M1180107</guid>
      <dc:creator>gmsamborn</dc:creator>
      <dc:date>2023-12-18T18:53:51Z</dc:date>
    </item>
  </channel>
</rss>

