<?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: Make a selection with Range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65882#M512144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the best solution here for you is to create a YearMonth field on the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will simplify this type of analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you ok or you want to use a Month field and a Year field ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2018 09:00:02 GMT</pubDate>
    <dc:creator>YoussefBelloum</dc:creator>
    <dc:date>2018-03-08T09:00:02Z</dc:date>
    <item>
      <title>Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65875#M512137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i have this situation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have 2 selectbox:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a. with the years from my DATE_INI_VAL&lt;/P&gt;&lt;P&gt;b. with month from my DATE_INI_VAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i have a TABLE where i show all my rows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i click in my Month, i NOT want select the rows in my table of my Month.... but i want select all my rows in my table that are in this range:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE_INI_VAL &amp;lt;= month (selected)&amp;nbsp;&amp;nbsp; AND&amp;nbsp;&amp;nbsp; DATE_FIN_VAL &amp;gt;= month (selected)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 15:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65875#M512137</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2018-03-07T15:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65876#M512138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you compare your dates fields to months, what is the Year used here ? current year ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 15:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65876#M512138</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-07T15:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65877#M512139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Danielle, this can be done with set analysis, ie:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DATE_INI_VAL={"&amp;lt;=$(=Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DATE_INI_VAL&lt;/SPAN&gt;))"}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DATE_FIN_VAL&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;={"&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=$(=Max(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DATE_INI_VAL&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;))&lt;/SPAN&gt;"}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;} Field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The correct final expression can depend on date formats, data relationships, fields used for selections...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 15:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65877#M512139</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2018-03-07T15:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65878#M512140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand you correctly you want to sum values where the DATE_INI_VAL is lower or equal to the selected date and DATE_FIN_VAL is larger or equal to the selected date. The below should do the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;DATE_INI_VAL = {"&amp;lt;=$(=Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DATE_INI_VAL))&lt;/SPAN&gt;"}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DATE_FIN_VAL = {"&amp;gt;=$(=Max(DATE_INI_VAL))"}&lt;/SPAN&gt; &amp;gt;}&lt;EM&gt;&lt;STRONG&gt;value&lt;/STRONG&gt;&lt;/EM&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 15:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65878#M512140</guid>
      <dc:creator>niclaz79</dc:creator>
      <dc:date>2018-03-07T15:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65879#M512141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just one thing here: It should be sum(Field) instead of sum(Value)...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 15:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65879#M512141</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-07T15:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65880#M512142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nono, sorry i not want Sum nothing....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a table with rows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want only show the rows that satisfy my condition, and my conditiion must be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE_INI_VAL (is a column of my table) &amp;lt;= month (selected)&amp;nbsp;&amp;nbsp; AND&amp;nbsp;&amp;nbsp; DATE_FIN_VAL (is a column of my table) &amp;gt;= month (selected)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 16:27:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65880#M512142</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2018-03-07T16:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65881#M512143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, or the year i choice from a selection&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 08:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65881#M512143</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2018-03-08T08:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65882#M512144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the best solution here for you is to create a YearMonth field on the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will simplify this type of analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you ok or you want to use a Month field and a Year field ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 09:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65882#M512144</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-08T09:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65883#M512145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For me can be ok to use a YearMonth field on the script, but how can i do it, for make the solution?&lt;/P&gt;&lt;P&gt;can write me the script i need to write?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 09:33:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65883#M512145</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2018-03-08T09:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65884#M512146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you don't have a master calendar, you can put this directly into your table load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(Date#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DATE_INI_VAL&lt;/SPAN&gt;, 'YYYYMM')) as YearMonth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this you select a range from your Yearmonth listbox, example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from 201701 to 201712&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your rows will automatically update to that selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 09:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65884#M512146</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-08T09:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65885#M512147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, but this is not the solution..... when i choice the YEAR or the MONTH my table (ora my chart table) need to be filter the rows in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE_INI_VAL (the column in table) &amp;lt;= month (selected or YearMonth field)&amp;nbsp; AND&amp;nbsp; DATE_FIN_VAL (the column in table) &amp;gt;= month (selected or YearMonth field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this need to be the filter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 09:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65885#M512147</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2018-03-08T09:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65886#M512148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad, was just looking at the INI_VAL field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you tried the expressions below ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 09:58:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65886#M512148</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-08T09:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65887#M512149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes i used the expression for others problem... but i not know how to solve this kind of problem for make this kind of filter.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 10:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65887#M512149</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2018-03-08T10:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65888#M512151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to go further, it is time to share some data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 10:16:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65888#M512151</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-08T10:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65889#M512154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what you mean, what i need to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i explain the problem, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to have some selection with YEAR and MONTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i choice a value of the selection my table (ora my chart table) need to be filter the rows in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE_INI_VAL (the column in table) &amp;lt;= month (selected or YearMonth field)&amp;nbsp; AND&amp;nbsp; DATE_FIN_VAL (the column in table) &amp;gt;= month (selected or YearMonth field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 10:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65889#M512154</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2018-03-08T10:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65890#M512157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to share some DATA, what is not clear about this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;94 people opened your thread, 4 peoples tried to help and no one was able to give the output you expect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you need to make an effort to share some data &lt;SPAN style="font-size: 13.3333px;"&gt;that represent your table structure&lt;/SPAN&gt; on an excel file for example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 10:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65890#M512157</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-08T10:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65891#M512160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, sure sorry&lt;/P&gt;&lt;P&gt;i attach thia XLS with Data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 11:31:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65891#M512160</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2018-03-08T11:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65892#M512162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ can please take a look at this and tell me if it is the best approach ? (this message if just for an expert to validate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, It was bit more complicated than I expected (that's why I asked for the data structure).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually you need an intervalmatch to create a DATE field from your start_date and your end_date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;LOAD FORNITORE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [COD. CLIENTE],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [RAGIONE SOCIALE],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MIS_MENSILE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; D_FINE_VAL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; D_INIZ_VAL&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MinMax:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Min(D_INIZ_VAL) as MinDate,&lt;/P&gt;&lt;P&gt;Max(D_FINE_VAL) as MaxDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vMin = FieldValue('MinDate',1);&lt;/P&gt;&lt;P&gt;Let vMax = FieldValue('MaxDate',1);&lt;/P&gt;&lt;P&gt;Let vDays = vMax-vMin+1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table MinMax;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date($(vMin) + RowNo()-1) as Date&lt;/P&gt;&lt;P&gt;AutoGenerate ($(vDays));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;load Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp; year(Date) as Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp; month(Date) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(MakeDate(year(Date),month(Date)),'YYYYMM')&amp;nbsp; as&amp;nbsp; YearMonth&lt;/P&gt;&lt;P&gt;resident Calendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left Join (data)&lt;/P&gt;&lt;P&gt;IntervalMatch (Date)&lt;/P&gt;&lt;P&gt;Load D_INIZ_VAL,&lt;/P&gt;&lt;P&gt;D_FINE_VAL&lt;/P&gt;&lt;P&gt;Resident data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now your table is connected to a master calendar like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="195715" alt="Intervalmatch_model.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/195715_Intervalmatch_model.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and here is the expected output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="195716" alt="intervalmatch.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/195716_intervalmatch.png" style="height: 290px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE FIND ATTACHED the QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 14:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65892#M512162</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-08T14:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65893#M512164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, i think can be ok, i am tring it, but i have a problem... when i execute that with all real data, this is the details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTR_Gas &amp;lt;&amp;lt; V_GAS_DATA 11.970 linee recuperate&lt;/P&gt;&lt;P&gt;MinMax &amp;lt;&amp;lt; CONTR_Gas 1 linee recuperate&lt;/P&gt;&lt;P&gt;Calendar &amp;lt;&amp;lt; AUTOGENERATE(2556) 2.556 linee recuperate&lt;/P&gt;&lt;P&gt;Calendar 2.556 linee recuperate&lt;/P&gt;&lt;P&gt;CONTR_Gas 3.863.325 linee recuperate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when it finish to execute and open in layout my table.... it not show me nothing becouse it say that the object is out of memory.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 08:02:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65893#M512164</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2018-03-09T08:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Make a selection with Range</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65894#M512165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the disadvantage of this technique is the duplication of lines..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can set a calculation condition on your table, example: not display data before you make selection on the YearMonthfield, like that the lines on the table are reduced and displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put this into the calculation condition of your table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=GetSelectedCount(YearMonth)&amp;lt;&amp;gt;0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 08:50:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-selection-with-Range/m-p/65894#M512165</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-09T08:50:00Z</dc:date>
    </item>
  </channel>
</rss>

