<?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 select in an expression or variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/select-in-an-expression-or-variable/m-p/317699#M1200663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi D,&lt;/P&gt;&lt;P&gt;Slightly revised file, which perhaps fits better with your requirement...&lt;/P&gt;&lt;P&gt;2 date input boxes required, 1 for start date other for the end date.&lt;/P&gt;&lt;P&gt;Calculated dimensions' formula changes slightly to take into account the end date as well:&lt;/P&gt;&lt;P&gt;=if(DATAINIZIO&amp;gt;='$(StartDate)' and DATAFINE&amp;lt;='$(EndDate)',ARTICOLO,null())&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Apr 2011 14:27:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-04T14:27:03Z</dc:date>
    <item>
      <title>select in an expression or variable</title>
      <link>https://community.qlik.com/t5/QlikView/select-in-an-expression-or-variable/m-p/317694#M1200658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry for my english.&lt;/P&gt;&lt;P&gt;I need a way to make a select x from table in an expression field or variable. Is it possible.&lt;/P&gt;&lt;P&gt;My problem is that i have a items price list with "start date" and "end date".&lt;/P&gt;&lt;P&gt;I made an input box where the user insert a date and in a tab pivot he wants the list of items that has validate price in that date.&lt;/P&gt;&lt;P&gt;How can i make this work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tnx&lt;/P&gt;&lt;P&gt;db&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 10:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-in-an-expression-or-variable/m-p/317694#M1200658</guid>
      <dc:creator />
      <dc:date>2011-04-01T10:24:05Z</dc:date>
    </item>
    <item>
      <title>select in an expression or variable</title>
      <link>https://community.qlik.com/t5/QlikView/select-in-an-expression-or-variable/m-p/317695#M1200659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;db - This is possible by using the variables and using the same variable in the expression. Please can you share the sample data... I can give a go &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Cheers - DV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 10:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-in-an-expression-or-variable/m-p/317695#M1200659</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-01T10:27:33Z</dc:date>
    </item>
    <item>
      <title>select in an expression or variable</title>
      <link>https://community.qlik.com/t5/QlikView/select-in-an-expression-or-variable/m-p/317696#M1200660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;Tnx,&lt;/P&gt;&lt;P&gt;i send you my file.&lt;/P&gt;&lt;P&gt;if you insert 01-04-2011 into "data riferimento" i'd like that into the table remains only the rows with datainizio most near to the datariferimento (es. 01-03-2011).&lt;/P&gt;&lt;P&gt;tnx a lot.&lt;/P&gt;&lt;P&gt;db&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 10:49:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-in-an-expression-or-variable/m-p/317696#M1200660</guid>
      <dc:creator />
      <dc:date>2011-04-01T10:49:01Z</dc:date>
    </item>
    <item>
      <title>select in an expression or variable</title>
      <link>https://community.qlik.com/t5/QlikView/select-in-an-expression-or-variable/m-p/317697#M1200661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nobody can help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 12:57:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-in-an-expression-or-variable/m-p/317697#M1200661</guid>
      <dc:creator />
      <dc:date>2011-04-04T12:57:29Z</dc:date>
    </item>
    <item>
      <title>select in an expression or variable</title>
      <link>https://community.qlik.com/t5/QlikView/select-in-an-expression-or-variable/m-p/317698#M1200662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi d_borghi,&lt;/P&gt;&lt;P&gt;Am relatively new to QV, so there maybe a better solution than the one attached....&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Changed the input box number format, to date&lt;/P&gt;&lt;P&gt;Created/tested text box to return the correct value from your input box/ASK_DATA variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created new calculated dimensions for each of your reported dimensions.&lt;/P&gt;&lt;P&gt;For a field value to appear in your report, it first has to pass the following evaluation:&lt;/P&gt;&lt;P&gt;if DATAINIZIO &amp;gt;= ASK_DATA , then return field value, else null :&lt;/P&gt;&lt;P&gt;=if(DATAINIZIO&amp;gt;='$(ASK_DATA)',ARTICOLO,null())&lt;/P&gt;&lt;P&gt;For the date fields, remember to add the "date" syntax as follows:&lt;BR /&gt;=if(DATAINIZIO&amp;gt;='$(ASK_DATA)',date(DATAFINE,dd/mm/yyyy),null())&lt;/P&gt;&lt;P&gt;If you don't want to see the last row (null) with the value, in the dimensions tab, deselect "display when value is null"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this what you were hoping to achieve?&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 14:03:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-in-an-expression-or-variable/m-p/317698#M1200662</guid>
      <dc:creator />
      <dc:date>2011-04-04T14:03:20Z</dc:date>
    </item>
    <item>
      <title>select in an expression or variable</title>
      <link>https://community.qlik.com/t5/QlikView/select-in-an-expression-or-variable/m-p/317699#M1200663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi D,&lt;/P&gt;&lt;P&gt;Slightly revised file, which perhaps fits better with your requirement...&lt;/P&gt;&lt;P&gt;2 date input boxes required, 1 for start date other for the end date.&lt;/P&gt;&lt;P&gt;Calculated dimensions' formula changes slightly to take into account the end date as well:&lt;/P&gt;&lt;P&gt;=if(DATAINIZIO&amp;gt;='$(StartDate)' and DATAFINE&amp;lt;='$(EndDate)',ARTICOLO,null())&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 14:27:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-in-an-expression-or-variable/m-p/317699#M1200663</guid>
      <dc:creator />
      <dc:date>2011-04-04T14:27:03Z</dc:date>
    </item>
    <item>
      <title>select in an expression or variable</title>
      <link>https://community.qlik.com/t5/QlikView/select-in-an-expression-or-variable/m-p/317700#M1200664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;db - I am sorry I could not work on this one. I am little busy with my work. However, before I proceed any further on this one. I wanted to understand the issue completely.&lt;/P&gt;&lt;P&gt;RichSheppard already provided a solution which I assume is what you need...&lt;/P&gt;&lt;P&gt;However, I am working on using set analysis in your expression and not touching the dimensions. Please try to use this expression to search on manually entered date through a variable.&lt;/P&gt;&lt;P&gt;=COUNT({&amp;lt;DATAINIZIO = {'$(ASK_DATA)'}&amp;gt;} PREZZO)&lt;/P&gt;&lt;P&gt;And my understanding is that you need to get nearest (less than the current date) if there is no date available matching the manually entered date. Is this right?&lt;/P&gt;&lt;P&gt;Cheers - DV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 14:38:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-in-an-expression-or-variable/m-p/317700#M1200664</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-04T14:38:44Z</dc:date>
    </item>
  </channel>
</rss>

