<?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 get selected date from slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2644040#M77749</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="377293" data-lia-user-login="SpartaBI" class="lia-mention lia-mention-user"&gt;SpartaBI&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The slicer is Dates &lt;STRONG&gt;before&lt;/STRONG&gt;&amp;nbsp;&lt;BR /&gt;When I change it to&amp;nbsp;&lt;SPAN&gt;Test MinDate = MIN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Dim_Calendar[Date]&lt;/SPAN&gt;&lt;SPAN&gt;) I get 1/1/1900&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jul 2022 07:38:17 GMT</pubDate>
    <dc:creator>LotteLaugesen</dc:creator>
    <dc:date>2022-07-18T07:38:17Z</dc:date>
    <item>
      <title>How to get selected date from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2644008#M77747</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get the selected date from a date slicer?&lt;BR /&gt;I have tried this:&lt;BR /&gt;&lt;SPAN&gt;Test MaxDate = SELECTEDVALUE(Dim_Calendar[Date]) (Returns blank)&lt;BR /&gt;Test MaxDate = MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Dim_Calendar[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Test MaxDate = CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Dim_Calendar[Date]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Dim_Calendar[Date]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;The 2 last returns the last date in Dim_Calendar (31/12/2029) and not the selected date.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img /&gt;&lt;BR /&gt;Can anybody help?&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;&lt;P&gt;&lt;SPAN&gt;Lotte&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Jul 2022 07:29:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2644008#M77747</guid>
      <dc:creator>LotteLaugesen</dc:creator>
      <dc:date>2022-07-18T07:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get selected date from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2644033#M77748</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="263569" data-lia-user-login="LotteLaugesen" class="lia-mention lia-mention-user"&gt;LotteLaugesen&lt;/a&gt;&amp;nbsp;how did you configure the slicer? Dates greater then?&lt;/P&gt;&lt;P&gt;What do you get when you write:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Test MinDate = MIN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Dim_Calendar[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 07:35:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2644033#M77748</guid>
      <dc:creator>SpartaBI</dc:creator>
      <dc:date>2022-07-18T07:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to get selected date from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2644040#M77749</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="377293" data-lia-user-login="SpartaBI" class="lia-mention lia-mention-user"&gt;SpartaBI&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The slicer is Dates &lt;STRONG&gt;before&lt;/STRONG&gt;&amp;nbsp;&lt;BR /&gt;When I change it to&amp;nbsp;&lt;SPAN&gt;Test MinDate = MIN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Dim_Calendar[Date]&lt;/SPAN&gt;&lt;SPAN&gt;) I get 1/1/1900&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 07:38:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2644040#M77749</guid>
      <dc:creator>LotteLaugesen</dc:creator>
      <dc:date>2022-07-18T07:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to get selected date from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2644048#M77750</link>
      <description>&lt;P&gt;Can you share the file (leave just the relevant columna with dates)&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 07:40:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2644048#M77750</guid>
      <dc:creator>SpartaBI</dc:creator>
      <dc:date>2022-07-18T07:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to get selected date from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2644067#M77753</link>
      <description>&lt;P&gt;Thank you for asking - because now I found the problem.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The calendar was related to another table with relationship &lt;STRONG&gt;both&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 07:46:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2644067#M77753</guid>
      <dc:creator>LotteLaugesen</dc:creator>
      <dc:date>2022-07-18T07:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to get selected date from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2644070#M77754</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="263569" data-lia-user-login="LotteLaugesen" class="lia-mention lia-mention-user"&gt;LotteLaugesen&lt;/a&gt;&amp;nbsp;great, will appreciate your kudos &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 07:48:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2644070#M77754</guid>
      <dc:creator>SpartaBI</dc:creator>
      <dc:date>2022-07-18T07:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to get selected date from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2644093#M77756</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="377293" data-lia-user-login="SpartaBI" class="lia-mention lia-mention-user"&gt;SpartaBI&lt;/a&gt;&amp;nbsp;yes I will, but I found out it wasn't the whole truth.&lt;BR /&gt;I removed the relation a test solution and it worked, but when I did it the real solution it went back to 31/12/2029&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":persevering_face:"&gt;😣&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 07:56:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2644093#M77756</guid>
      <dc:creator>LotteLaugesen</dc:creator>
      <dc:date>2022-07-18T07:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get selected date from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2644104#M77757</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="263569" data-lia-user-login="LotteLaugesen" class="lia-mention lia-mention-user"&gt;LotteLaugesen&lt;/a&gt;&amp;nbsp;will pm you now&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 08:00:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2644104#M77757</guid>
      <dc:creator>SpartaBI</dc:creator>
      <dc:date>2022-07-18T08:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to get selected date from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2651755#M78202</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="263569" data-lia-user-login="LotteLaugesen" class="lia-mention lia-mention-user"&gt;LotteLaugesen&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Have you solved the issue now? If so, please mark the solution as the answer. If not, please provide more details with your desired output and pbix file without privacy information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Community Support Team _ Polly&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 03:25:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2651755#M78202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-21T03:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to get selected date from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2651880#M78219</link>
      <description>&lt;P&gt;That is not normal.&lt;/P&gt;&lt;P&gt;I use&amp;nbsp;&lt;SPAN&gt;MaxDate = MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Dim_Calendar[Date]&lt;/SPAN&gt;&lt;SPAN&gt;) a lot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only case i can think how this happen is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you have 2 tables with date. One end at 2029 and the other one end at 2022.&lt;/P&gt;&lt;P&gt;When your filter at the last of the one end with 2022.&lt;/P&gt;&lt;P&gt;It doesn't main you have a filter at a day in 2022.&lt;/P&gt;&lt;P&gt;It means you have no filter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or check you relationship, the cross filter direction need to be both.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 05:08:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-selected-date-from-slicer/m-p/2651880#M78219</guid>
      <dc:creator>vapid128</dc:creator>
      <dc:date>2022-07-21T05:08:27Z</dc:date>
    </item>
  </channel>
</rss>

