<?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: Expression using both Input Box and set variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-using-both-Input-Box-and-set-variables/m-p/133624#M763849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User can enter data from Dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://ap-a.demo.qlik.com/QvAJAXZfc/opendoc.htm?document=qvdocs%2FAsset%20Management.qvw&amp;amp;host=demo11&amp;amp;anonymous=true" rel="nofollow" target="_blank"&gt;https://ap-a.demo.qlik.com/QvAJAXZfc/opendoc.htm?document=qvdocs%2FAsset%20Management.qvw&amp;amp;host=demo11&amp;amp;anonymous=true&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2018 11:25:03 GMT</pubDate>
    <dc:creator>BalaBhaskar_Qlik</dc:creator>
    <dc:date>2018-07-27T11:25:03Z</dc:date>
    <item>
      <title>Expression using both Input Box and set variables</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-using-both-Input-Box-and-set-variables/m-p/133623#M763848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Pivot Table in which I have a field to calculate the number of working days using a NetWorkDays expression. Now my client asked me to make some modifications to that table so that she has the option to input the end day in the NetWorkDays function. I've added a variable called vCustomEndDate which I can modify in an Input Box. Now when it comes to the expression I'm trying to branch it via an If(something like If(vCustomEndDate is not null, NetWorkDays(start_date,vCustomEndDate,$Holidays),NetWorkDays(start_date,end_date,$Holidays))).&lt;BR /&gt;Now my question is:How can I validate whether vCustomEndDate is null or not? I've tried If(vCustomEndDate -= {"=Null()"},&lt;SPAN style="font-size: 13.3333px;"&gt;NetWorkDays(start_date,vCustomEndDate,$Holidays),NetWorkDays(start_date,end_date,$Holidays))), but I got some errors. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-using-both-Input-Box-and-set-variables/m-p/133623#M763848</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expression using both Input Box and set variables</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-using-both-Input-Box-and-set-variables/m-p/133624#M763849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User can enter data from Dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://ap-a.demo.qlik.com/QvAJAXZfc/opendoc.htm?document=qvdocs%2FAsset%20Management.qvw&amp;amp;host=demo11&amp;amp;anonymous=true" rel="nofollow" target="_blank"&gt;https://ap-a.demo.qlik.com/QvAJAXZfc/opendoc.htm?document=qvdocs%2FAsset%20Management.qvw&amp;amp;host=demo11&amp;amp;anonymous=true&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 11:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-using-both-Input-Box-and-set-variables/m-p/133624#M763849</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-07-27T11:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Expression using both Input Box and set variables</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-using-both-Input-Box-and-set-variables/m-p/133625#M763850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(&lt;SPAN style="color: #ff0000;"&gt;Len(Trim(vCustomEndDate)) &amp;gt; 0&lt;/SPAN&gt;, NetWorkDays(start_date, vCustomEndDate, $Holidays), NetWorkDays(start_date, end_date, $Holidays)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 11:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-using-both-Input-Box-and-set-variables/m-p/133625#M763850</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-27T11:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Expression using both Input Box and set variables</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-using-both-Input-Box-and-set-variables/m-p/133626#M763851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(IsNull($(vCustomEndDate)),&lt;/P&gt;&lt;P&gt;NetWorkDays(start_date,$(vCustomEndDate),$Holidays),&lt;/P&gt;&lt;P&gt;NetWorkDays(start_date,end_date,$Holidays))), &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Len(Trim($(vCustomEndDate))) = 0 or $(vCustomEndDate) = ' ',&lt;/P&gt;&lt;P&gt;NetWorkDays(start_date,$(vCustomEndDate),$Holidays),&lt;/P&gt;&lt;P&gt;NetWorkDays(start_date,end_date,$Holidays))), &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 11:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-using-both-Input-Box-and-set-variables/m-p/133626#M763851</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-07-27T11:31:43Z</dc:date>
    </item>
  </channel>
</rss>

