<?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: Numeric range dropdown filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2295312#M56564</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;How do i get the number of rooms for measure 1? VALUES?&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jan 2022 09:53:14 GMT</pubDate>
    <dc:creator>arvin</dc:creator>
    <dc:date>2022-01-21T09:53:14Z</dc:date>
    <item>
      <title>Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2286871#M56105</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;I have an excel dataset as underlying data. It is housing data, so for each row i have a column saying how many rooms the apartment have. See the image below for the column and values.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The stakeholders want to have two filters in the report. One saying "Room from" and the other "Room to". So basically they want a numeric range slicer, but as a dropdown list filter, something like the image below:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that if i choose From = 2 and To = 5 it does not filter the data from 2 TO 5, it only shows data with room = 2 AND room = 5, as expected. I want the data to show the range between the to options.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe there must be a work around on this issue with nested if statements or a function?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to solve it by creating two seperate tables with unique values containing all possible rooms(picture below), one "from" and one "to". My next idea was to find a function saying when choosing 2 from the FROM table/filter and 5 from the TO table/slicer, the data filters everyting from 2 to 5 room apartments.&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone faced this issue before and can you guys help me out with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 14:35:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2286871#M56105</guid>
      <dc:creator>arvin</dc:creator>
      <dc:date>2022-01-17T14:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2286905#M56106</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="258469" data-lia-user-login="arvin" class="lia-mention lia-mention-user"&gt;arvin&lt;/a&gt;&amp;nbsp; To achieve a between behaviour, you need to use all the (From, To) values from the same table and they can't come from two different tables.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 14:45:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2286905#M56106</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2022-01-17T14:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2286914#M56108</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Here is one way to do this:&lt;BR /&gt;&lt;BR /&gt;First I created to parameter for slicing the values. Then I created a filter measure:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RoomsFilter = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;_rooms&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;RoomsToFrom[Rooms]&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;_rooms&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;[RoomsTo Value]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;_rooms&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;=&lt;/SPAN&gt;&lt;SPAN&gt;[RoomsFrom Value]&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;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;Now I just applied Filter measure to my table:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img /&gt;&lt;P&gt;&lt;BR /&gt;By using these steps the behaviour you described can be achieved.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Jan 2022 15:02:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2286914#M56108</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-01-17T15:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2286956#M56109</link>
      <description>&lt;P&gt;Hi, I did ecatly what you said and tried to apply the measure in my matrix, but it doesnt seem to work, it worked on tables, but i have multiple matrixes like the image below and nothing happens:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 15:08:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2286956#M56109</guid>
      <dc:creator>arvin</dc:creator>
      <dc:date>2022-01-17T15:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2286968#M56110</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;It is important the filter is "Rooms filter is 1" Now you have "Rooms filter is 1 or 0" This defeats the purpose and it is likely the reason the filter is not working.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 15:13:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2286968#M56110</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-01-17T15:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2286985#M56111</link>
      <description>&lt;P&gt;Sorry i sent the wrong printscreen. Here is the correct one. I have the measure = 1 and nothing shows.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 15:18:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2286985#M56111</guid>
      <dc:creator>arvin</dc:creator>
      <dc:date>2022-01-17T15:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2286993#M56112</link>
      <description>&lt;P&gt;Hmm,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;That is curious behaviour. Could you show the DAX you used?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 15:22:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2286993#M56112</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-01-17T15:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2287003#M56113</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I created two parameters; Från(from) and Till(to)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The measure is below:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;-Blad1[antal rum] is the column with rooms in my dataset.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RoomsFilter = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;_rooms&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;Blad1[antal rum]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;_rooms&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;[Till Value]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;_rooms&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;=&lt;/SPAN&gt;&lt;SPAN&gt;[Från Value]&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;I do have a measure in the matrix Values section, i dont know if that creates a problem.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Jan 2022 15:28:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2287003#M56113</guid>
      <dc:creator>arvin</dc:creator>
      <dc:date>2022-01-17T15:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2287050#M56116</link>
      <description>&lt;P&gt;The filter measure seems to be correct. It is entirely possible that your other measure in matrix values causes the issue. Here is an example of that:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Impossible measure = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;RoomsToFrom[Rooms]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;RoomsToFrom[Rooms]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To solve this you can remove the filter context from this measure, since I don't know what your measure does I can only suggest using ALL.&lt;BR /&gt;E.g.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Impossible measure2 = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;RoomsToFrom[Rooms]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;RoomsToFrom[Rooms]&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;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;RoomsToFrom&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt;&lt;BR /&gt;There are better ways to do this, but I would need to know what your other measure does.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Jan 2022 15:38:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2287050#M56116</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-01-17T15:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2287055#M56117</link>
      <description>&lt;P&gt;It works on tables and graphs, but when i have no option selected in the parameters the data disapears, can i create the measure so that when nothing is selected, all data is showing?&lt;BR /&gt;&lt;BR /&gt;It does not work on matrixes and cards, in the picture below i can't select the Rooms Filter = 1.&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;</description>
      <pubDate>Mon, 17 Jan 2022 15:39:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2287055#M56117</guid>
      <dc:creator>arvin</dc:creator>
      <dc:date>2022-01-17T15:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2287075#M56120</link>
      <description>&lt;P&gt;This is a example of the card measure:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Card Measure = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;COUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Blad1[kontraktspris]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;Blad1[bostads-kategori]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"B"&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;This is the measure that I use in the matrix:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Matrix measure = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;AVERAGE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Blad1[kontraktspris]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;Blad1[bostads-kategori]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"V"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Jan 2022 15:50:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2287075#M56120</guid>
      <dc:creator>arvin</dc:creator>
      <dc:date>2022-01-17T15:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2287094#M56122</link>
      <description>&lt;P&gt;Here is modified filter which works also when nothing is selected:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RoomsFilter = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;_rooms&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;RoomsToFrom[Rooms]&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;_roomsfrom&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[RoomsFrom Value]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;(),&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;[RoomsFrom Value]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;_roomsto&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[RoomsTo Value]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;(),&lt;/SPAN&gt;&lt;SPAN&gt;999&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;[RoomsTo Value]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;_rooms&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;_roomsto&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;_rooms&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;=&lt;/SPAN&gt;&lt;SPAN&gt;_roomsfrom&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;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Jan 2022 16:04:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2287094#M56122</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-01-17T16:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2287180#M56128</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343431" data-lia-user-login="ValtteriN" class="lia-mention lia-mention-user"&gt;ValtteriN&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below you can see the calculated columns and measures that i use as cards and matrixes. The graph works perfectly with the parameter but the matrix doesnt show any data and the card and can't set the Rooms Filter to = 1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Graph(works)&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;The graph works fine. I have a date column as axis, a calculated column as Legend and a measure in Values:&lt;BR /&gt;&lt;STRONG&gt;-Legend:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Calculated Column= &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Table1[columnX]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Legend1"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"Legend2"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Table1[columnX]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;"Legend1"&lt;/SPAN&gt;&lt;SPAN&gt; || &lt;/SPAN&gt;&lt;SPAN&gt;Table1[columnX]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Legend1"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"All"&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;STRONG&gt;-Values:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;AVERAGE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Table1[columnY]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;Table1[columnZ]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"B"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;I also have a date filter on the filters pane saying only look at data from today and 3 months back.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;Card(doesnt work)&lt;/STRONG&gt;&lt;/U&gt;&lt;/DIV&gt;&lt;DIV&gt;Measure =&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;COUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Table1[ColumnY]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;Table1[ColumnZ]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"B"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;I also have a date filter on the filters pane saying only look at data from today and 3 months back.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;STRONG&gt;Matrix(doesnt work)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;P&gt;&lt;STRONG&gt;-Rows&lt;/STRONG&gt;&lt;BR /&gt;Calculated Column =&lt;BR /&gt;if(Table1[ColumnX] = "example text", "output",&lt;BR /&gt;if(Table1[ColumnX] &amp;lt;&amp;gt; "example text"|| Table1[ColumnX] = "example text", "output2"))&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-Columns&lt;/STRONG&gt;&lt;BR /&gt;Calculated Column =&lt;BR /&gt;if(Table1[Datesegment] = "1", " X",&lt;BR /&gt;if(Table1[Datesegment] = "2", " Y",&lt;BR /&gt;if(Table1[Datesegment] = "3", " Z",&lt;BR /&gt;if(Table1[Datesegment] = "4", "F"))))&lt;BR /&gt;&lt;STRONG&gt;-Values&lt;/STRONG&gt;&lt;BR /&gt;Measure =&lt;BR /&gt;CALCULATE(AVERAGE(Table1[price]),Table1[category] = "V")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Jan 2022 17:01:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2287180#M56128</guid>
      <dc:creator>arvin</dc:creator>
      <dc:date>2022-01-17T17:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2287215#M56131</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="258469" data-lia-user-login="arvin" class="lia-mention lia-mention-user"&gt;arvin&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Card:&lt;BR /&gt;&lt;BR /&gt;Normally you can't filter card with a measure. To circumvent this we can first create a table visual and place the filter there:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now convert it to a card:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;As for the matrix:&lt;BR /&gt;&lt;BR /&gt;Instead of nested IFs you should use&lt;BR /&gt;SWITCH(TRUE(),&lt;BR /&gt;condition1,result1,&lt;BR /&gt;condition2,resul2) structure.&lt;BR /&gt;&lt;BR /&gt;This doesn't solve the issue but it is more readable.&lt;BR /&gt;&lt;BR /&gt;My assumption is that your columns work and the issue is with the measure. You can you test this b testing the visual with this:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TestMeasure =&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CALCULATE(AVERAGE(Table1[price]),Table1[category] = "V",ALL(Table1))&lt;BR /&gt;&lt;BR /&gt;If this return values this should work:&lt;BR /&gt;&lt;BR /&gt;Working&amp;nbsp;Measure =&lt;BR /&gt;var cc1 = Max(Calculated Column)&lt;BR /&gt;var cc2 = Max(Calculated Column2) return&lt;BR /&gt;&lt;BR /&gt;CALCULATE(AVERAGE(Table1[price]),Table1[category] = "V",ALL(Table1),&lt;BR /&gt;Table1[Calculated Column]=cc1,Table1[Calculated Column]=cc2)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 17:21:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2287215#M56131</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-01-17T17:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2287635#M56163</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343431" data-lia-user-login="ValtteriN" class="lia-mention lia-mention-user"&gt;ValtteriN&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I tried the card trick and it did not work when choosing a parameter, the value is the same every time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried the test measure for the matrix, but all values in the matrix became identical and when choosing parameters they all disappeared, picture below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TestMeasure =&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CALCULATE(AVERAGE(Table1[price]),Table1[category] = "V",ALL(Table1))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 23:01:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2287635#M56163</guid>
      <dc:creator>arvin</dc:creator>
      <dc:date>2022-01-17T23:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2288165#M56178</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="258469" data-lia-user-login="arvin" class="lia-mention lia-mention-user"&gt;arvin&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The test measure did it job if you got some values into the matrix. Now we just need to figure out how to get the filter context to function based on this test. What values did the "working measrure" return?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 06:34:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2288165#M56178</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-01-18T06:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2288764#M56198</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343431" data-lia-user-login="ValtteriN" class="lia-mention lia-mention-user"&gt;ValtteriN&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The matrix now shows correct values with the "working measure" in the values section.&lt;BR /&gt;The problem is still that it does not respond accurate to the parameters, when choosing for example from = 2 and to = 4, the data in the matrix disappears.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 11:59:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2288764#M56198</guid>
      <dc:creator>arvin</dc:creator>
      <dc:date>2022-01-18T11:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2292925#M56429</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="258469" data-lia-user-login="arvin" class="lia-mention lia-mention-user"&gt;arvin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need to create two separate tables as slicer (from and to) and make sure there's no relationship between these two table and the fact table.&lt;/P&gt;
&lt;P&gt;Create a measure, let's call it [measure1], to get the number of rooms (which you will use to compare with the number selected in the slicers). You could add it to matrix to check if it gets the correct result then remove from visual.&lt;/P&gt;
&lt;P&gt;Then create the second measure.&lt;/P&gt;
&lt;P&gt;Measure2 =&amp;nbsp;&lt;BR /&gt;var _min = selectedvalue(from_slicer[from])&lt;BR /&gt;var _max = selectedvalue(to_slicer[to])&lt;BR /&gt;return&lt;BR /&gt;IF([measure1]&amp;gt;=_min&amp;amp;&amp;amp;[measure1]&amp;lt;=_max,1,0)&lt;/P&gt;
&lt;P&gt;At last, add the measure to visual filter and set value = 1.&lt;/P&gt;
&lt;P&gt;If it still doesn't work, please show some sample data and expected result so that we could test the formula.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jay&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 08:40:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2292925#M56429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-20T08:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2295312#M56564</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;How do i get the number of rooms for measure 1? VALUES?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 09:53:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2295312#M56564</guid>
      <dc:creator>arvin</dc:creator>
      <dc:date>2022-01-21T09:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric range dropdown filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2295357#M56565</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="258469" data-lia-user-login="arvin" class="lia-mention lia-mention-user"&gt;arvin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is based on your data and requirement. I don't know what your data looks like and I don't know what result you want. Share the sample data without&amp;nbsp;confidential information and the expected result, so that we could decide to use sum() or max() or min() or other function to get it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jay&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 10:06:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Numeric-range-dropdown-filter/m-p/2295357#M56565</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-21T10:06:43Z</dc:date>
    </item>
  </channel>
</rss>

