<?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 add user input value along with my count expression (date comparison) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582585#M739106</link>
    <description>I didn't get any error.&lt;BR /&gt;i just want to add user input condition along with the date.&lt;BR /&gt;For example,&lt;BR /&gt;if user select 5, then it should consider as "5 Days".&lt;BR /&gt;then i want to add along with the date expression..&lt;BR /&gt;This logic and syntax is correct or not...</description>
    <pubDate>Tue, 21 May 2019 08:38:08 GMT</pubDate>
    <dc:creator>saivina2920</dc:creator>
    <dc:date>2019-05-21T08:38:08Z</dc:date>
    <item>
      <title>How to add user input value along with my count expression (date comparison)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582538#M739104</link>
      <description>&lt;P&gt;I written some count expression as mentioned below.&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;EMPJOINDATE={"(&amp;gt;=$(vCalcDate)&amp;lt;=$(vToday))"},SECTION= {'*AB-*','*CD-*'}&amp;gt;} DISTINCT EMP_NUMBER)&lt;/P&gt;&lt;P&gt;Along with the above, i want to pass one more condition which is already filled in listbox. ListBox contains number of Sequence values (Days)&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;DAYS (ListBOX)&lt;BR /&gt;-----&lt;BR /&gt;1&lt;BR /&gt;2&lt;BR /&gt;3&lt;BR /&gt;4&lt;BR /&gt;5&lt;BR /&gt;6&lt;BR /&gt;7&lt;BR /&gt;8&lt;BR /&gt;9&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;100&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When i select the listbox, then my count automatically should get change. I tried below expression. But, nothing will reflect.&lt;/P&gt;&lt;P&gt;what i want to do..?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Note : i created variable (vUserInput) ==&amp;gt; GetFieldSelections(DAYS)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;EMPJOINDATE={"(&amp;gt;=$(vCalcDate)&amp;lt;=$(vToday) + vUserInput)"},SECTION= {'*AB-*','*CD-*'}&amp;gt;} DISTINCT EMP_NUMBER)&lt;/P&gt;&lt;P&gt;will the syntax is correct...?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582538#M739104</guid>
      <dc:creator>saivina2920</dc:creator>
      <dc:date>2024-11-16T03:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to add user input value along with my count expression (date comparison)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582580#M739105</link>
      <description>Hi, if the * for SECTION means [any string] it should be between double quotes or it will look for the literal *-AB-* (exactly that value).&lt;BR /&gt;Also dates can be tricky, try step by step, first with only SECTION in set analysis and then add EMPJOINDATE to check where is the error.</description>
      <pubDate>Tue, 21 May 2019 08:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582580#M739105</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-05-21T08:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to add user input value along with my count expression (date comparison)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582585#M739106</link>
      <description>I didn't get any error.&lt;BR /&gt;i just want to add user input condition along with the date.&lt;BR /&gt;For example,&lt;BR /&gt;if user select 5, then it should consider as "5 Days".&lt;BR /&gt;then i want to add along with the date expression..&lt;BR /&gt;This logic and syntax is correct or not...</description>
      <pubDate>Tue, 21 May 2019 08:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582585#M739106</guid>
      <dc:creator>saivina2920</dc:creator>
      <dc:date>2019-05-21T08:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to add user input value along with my count expression (date comparison)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582597#M739107</link>
      <description>Not getting an error doesn't means it will work as you want it to work. Which are the values for SECTION? Have you followed my advise to add set analysis step by step?&lt;BR /&gt;&lt;BR /&gt;I think that dates should be calculated in an additional dollar-expansion:&lt;BR /&gt;EMPJOINDATE={"&amp;gt;=$(vCalcDate)&amp;lt;=$(=$(vToday) + vUserInput)"}</description>
      <pubDate>Tue, 21 May 2019 08:46:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582597#M739107</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-05-21T08:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to add user input value along with my count expression (date comparison)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582607#M739108</link>
      <description>&lt;P&gt;anything we want to format vUserInput as date.&lt;BR /&gt;will it calculate the count as days even if i use vUserInput....?&lt;/P&gt;&lt;P&gt;The problem is "vUserInput" not able to read the values at all.&lt;/P&gt;&lt;P&gt;when i select the days listbox, it will not be reflect anything in my count.&lt;/P&gt;&lt;P&gt;Note : i am filling values in list box using below script.&lt;/P&gt;&lt;P&gt;LOAD recno() as SeqDays&lt;BR /&gt;AUTOGENERATE 100; // maximum number allowed&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 14:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582607#M739108</guid>
      <dc:creator>saivina2920</dc:creator>
      <dc:date>2019-05-21T14:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to add user input value along with my count expression (date comparison)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582771#M739109</link>
      <description>Any update pls...</description>
      <pubDate>Tue, 21 May 2019 13:19:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582771#M739109</guid>
      <dc:creator>saivina2920</dc:creator>
      <dc:date>2019-05-21T13:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to add user input value along with my count expression (date comparison)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582830#M739110</link>
      <description>&lt;P&gt;can you post a sample to check?&lt;/P&gt;&lt;P&gt;Maybe&amp;nbsp;&lt;SPAN&gt;EMPJOINDATE={"&amp;gt;=$(vCalcDate)&amp;lt;=$(=$(vToday) + $(vUserInput))"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There can be many possible issues when working with dates&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 14:05:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582830#M739110</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-05-21T14:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to add user input value along with my count expression (date comparison)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582837#M739111</link>
      <description>i am filling values in list box using below script.&lt;BR /&gt;&lt;BR /&gt;LOAD recno() as SeqDays&lt;BR /&gt;AUTOGENERATE 100; // maximum number allowed</description>
      <pubDate>Tue, 21 May 2019 14:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582837#M739111</guid>
      <dc:creator>saivina2920</dc:creator>
      <dc:date>2019-05-21T14:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to add user input value along with my count expression (date comparison)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582845#M739112</link>
      <description>&lt;P&gt;1. GET_DAYS:&lt;BR /&gt;LOAD recno() as ValueSeqDays&lt;BR /&gt;AUTOGENERATE 100; // maximum number allowed&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. Create New variable named ==&amp;gt;&amp;nbsp; "vUserInput"&lt;BR /&gt;&lt;BR /&gt;So, vUserInput =GetFieldSelections(ValueSeqDays)&lt;BR /&gt;&lt;BR /&gt;and also,&lt;BR /&gt;&lt;BR /&gt;New Variable vIssueCalDate = =date((vToday-5),'DD-MM-YYYY')&lt;BR /&gt;New Variable vToday = =date(Today(),'DD-MM-YYYY')&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3. Load and fill the values in ListBox columnname "ValueSeqDays"&lt;BR /&gt;&lt;BR /&gt;4. My condition Expression for count to display in Text Object&lt;BR /&gt;&lt;BR /&gt;=Count({&amp;lt;IssueDate={"&amp;gt;=$(vIssueCalDate)&amp;lt;=$(=$(vToday) + vUserInput)"},EMP_SECTION= {'*B-*','*C-*'}&amp;gt;} DISTINCT EMP_NUMBER)&lt;BR /&gt;&lt;BR /&gt;When i click my list box it should automatically change the count. but, it is not reflecting.???&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 14:19:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582845#M739112</guid>
      <dc:creator>saivina2920</dc:creator>
      <dc:date>2019-05-21T14:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to add user input value along with my count expression (date comparison)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582851#M739113</link>
      <description>You can try using a variable that does the addition:&lt;BR /&gt;New Variable vUserDate = =date('$(vToday)'+5,'DD-MM-YYYY')&lt;BR /&gt;&lt;BR /&gt;And try using this variable:&lt;BR /&gt;=Count({&amp;lt;IssueDate={"&amp;gt;=$(vIssueCalDate)&amp;lt;=$(vUserDate)"},EMP_SECTION= {'*B-*','*C-*'}&amp;gt;} DISTINCT EMP_NUMBER)&lt;BR /&gt;&lt;BR /&gt;You can add the variable to an input box to check calculated values.&lt;BR /&gt;If still doesn't works it has nothing to do with the days selected by the user, it's an expression issue</description>
      <pubDate>Tue, 21 May 2019 14:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1582851#M739113</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-05-21T14:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to add user input value along with my count expression (date comparison)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1583020#M739114</link>
      <description>How to call or using input box...&lt;BR /&gt;if i call input box, will i that variable properly in the rxpressions...?</description>
      <pubDate>Wed, 22 May 2019 02:01:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1583020#M739114</guid>
      <dc:creator>saivina2920</dc:creator>
      <dc:date>2019-05-22T02:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to add user input value along with my count expression (date comparison)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1583089#M739115</link>
      <description>&lt;P&gt;Inputbox is just to check variable values. Right-click in sheet-&amp;gt; add object-&amp;gt;input box-&amp;gt; add variables to check&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 06:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-user-input-value-along-with-my-count-expression-date/m-p/1583089#M739115</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-05-22T06:50:17Z</dc:date>
    </item>
  </channel>
</rss>

