<?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: Selecting 2 Values from slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selecting-2-Values-from-slicer/m-p/2980483#M99897</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="451586" data-lia-user-login="Euro0681" class="lia-mention lia-mention-user"&gt;Euro0681&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please have a try.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;measure =
VAR _1 =
    SELECTEDVALUE ( date1[date 1] )
VAR _2 =
    SELECTEDVALUE ( date2[date 2] )
RETURN
    IF ( _1 &amp;gt; _2, _1, IF ( _2 &amp;gt; _1, _2, BLANK () ) )
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team _ Polly&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Dec 2022 02:26:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-12-21T02:26:27Z</dc:date>
    <item>
      <title>Selecting 2 Values from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selecting-2-Values-from-slicer/m-p/2980188#M99888</link>
      <description>&lt;P&gt;I need to select 1 values from two seperate slicers, but the catch is that the slicer uses the same 'date' column from the table.&lt;BR /&gt;This poses a problem because whenever I select the value from the first slicer it filters the second slicer and cannot display me a value.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Works when the value is the same, of course but i need a functionality like below...&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I'm wanting the measure to produce the value '2022-06', but due to the selection in the first filter it cannot is there any work arounds?&lt;BR /&gt;I know I can allow multiple selections and use one slicer but I want a limit of being able to select only 2 dates (and if i use multi select I can select More than 2)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Measure = MAX('Table'[Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 22:25:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selecting-2-Values-from-slicer/m-p/2980188#M99888</guid>
      <dc:creator>Euro0681</dc:creator>
      <dc:date>2022-12-20T22:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting 2 Values from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selecting-2-Values-from-slicer/m-p/2980483#M99897</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="451586" data-lia-user-login="Euro0681" class="lia-mention lia-mention-user"&gt;Euro0681&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please have a try.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;measure =
VAR _1 =
    SELECTEDVALUE ( date1[date 1] )
VAR _2 =
    SELECTEDVALUE ( date2[date 2] )
RETURN
    IF ( _1 &amp;gt; _2, _1, IF ( _2 &amp;gt; _1, _2, BLANK () ) )
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team _ Polly&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 02:26:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selecting-2-Values-from-slicer/m-p/2980483#M99897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-21T02:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting 2 Values from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selecting-2-Values-from-slicer/m-p/2980490#M99899</link>
      <description>&lt;P&gt;The problem is the name is the same I just changed for clarification purposes. The column used for both slicers is 'Table'[date] so selected value of date wouldn't work (the names Date 1 and Date 2 are just names changed at the visual level)&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 02:31:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selecting-2-Values-from-slicer/m-p/2980490#M99899</guid>
      <dc:creator>Euro0681</dc:creator>
      <dc:date>2022-12-21T02:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting 2 Values from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selecting-2-Values-from-slicer/m-p/2980501#M99901</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="451586" data-lia-user-login="Euro0681" class="lia-mention lia-mention-user"&gt;Euro0681&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Create another table with date column. Otherwise, the same column of data cannot select different values in different slicers or obtain different values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my sample, there are different tables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team _ Polly&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 02:34:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selecting-2-Values-from-slicer/m-p/2980501#M99901</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-21T02:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting 2 Values from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selecting-2-Values-from-slicer/m-p/2981171#M99936</link>
      <description>&lt;P&gt;In case we need a slicer to define the date filter boudary, the slicer shall be based on an isolated date tables, no relation with other table, like a parameter table.&amp;nbsp; Otherwise, we get single datepoint from the slicer, instead a date range.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 09:04:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selecting-2-Values-from-slicer/m-p/2981171#M99936</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-12-21T09:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting 2 Values from slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selecting-2-Values-from-slicer/m-p/2981173#M99937</link>
      <description>&lt;P&gt;In case we need a slicer to define the date filter boudary, the slicer shall be based on an isolated date tables, no relation with other table, like a parameter table.&amp;nbsp; Otherwise, we get single datepoint from the slicer, instead a date range.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 09:04:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Selecting-2-Values-from-slicer/m-p/2981173#M99937</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-12-21T09:04:45Z</dc:date>
    </item>
  </channel>
</rss>

