<?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: Input Box variable extension-how to display default data without entering min and max in input b in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Input-Box-variable-extension-how-to-display-default-data-without/m-p/1756437#M58342</link>
    <description>&lt;P&gt;Not completely clear.. wont you have a default value for the input boxes.&amp;nbsp;vMin_Invoice_Amt?&lt;/P&gt;&lt;P&gt;i am assuming you are asking about scenarios where one or both of the values are empty.&lt;/P&gt;&lt;P&gt;if so just add an empty condition to your if statement e.g. if(len(variable)=0....&lt;/P&gt;&lt;P&gt;let me know if i am missing something&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Oct 2020 19:38:49 GMT</pubDate>
    <dc:creator>dplr-rn</dc:creator>
    <dc:date>2020-10-27T19:38:49Z</dc:date>
    <item>
      <title>Input Box variable extension-how to display default data without entering min and max in input box.</title>
      <link>https://community.qlik.com/t5/App-Development/Input-Box-variable-extension-how-to-display-default-data-without/m-p/1756290#M58333</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone guide me how to use input box Variable Extension for the below scenario-&lt;/P&gt;&lt;P&gt;Firstly I have created 2 variables&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;vMin_Invoice_Amt= Min(Invoice Amount)&lt;/LI&gt;&lt;LI&gt;vMax_Invoice_Amt=Max(Invoice Amount)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I am using two Input Box -&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Input Box 1 to enter starting value = Min(Invoice Amount)&lt;/LI&gt;&lt;LI&gt;Input Box 1 to enter Ending value =Max(invoice Amount)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Now I have written If condition for Invoice Amount column -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Sum([Invoice Amount])&amp;gt;= $(vMin_Invoice_Amt) and sum([Invoice Amount]) &amp;lt;= $(vMax_Invoice_Amt),sum([Invoice Amount]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This filters accordingly the value entered in Input Boxs, But I want to display everything if there are no values entered in Input Box. Like show everything initially when users enters there input in the boxes it should filter accordingly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if the is clear!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Input-Box-variable-extension-how-to-display-default-data-without/m-p/1756290#M58333</guid>
      <dc:creator>LP27</dc:creator>
      <dc:date>2024-11-16T01:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Input Box variable extension-how to display default data without entering min and max in input b</title>
      <link>https://community.qlik.com/t5/App-Development/Input-Box-variable-extension-how-to-display-default-data-without/m-p/1756437#M58342</link>
      <description>&lt;P&gt;Not completely clear.. wont you have a default value for the input boxes.&amp;nbsp;vMin_Invoice_Amt?&lt;/P&gt;&lt;P&gt;i am assuming you are asking about scenarios where one or both of the values are empty.&lt;/P&gt;&lt;P&gt;if so just add an empty condition to your if statement e.g. if(len(variable)=0....&lt;/P&gt;&lt;P&gt;let me know if i am missing something&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 19:38:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Input-Box-variable-extension-how-to-display-default-data-without/m-p/1756437#M58342</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-10-27T19:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Input Box variable extension-how to display default data without entering min and max in input b</title>
      <link>https://community.qlik.com/t5/App-Development/Input-Box-variable-extension-how-to-display-default-data-without/m-p/1756440#M58343</link>
      <description>&lt;P&gt;Yes your right!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted&amp;nbsp; a logic where one or two values are empty.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do i use it like this-&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(len(&lt;SPAN&gt;vMin_Invoice_Amt&lt;/SPAN&gt;)=0 or&amp;nbsp;&lt;STRONG&gt;Sum([Invoice Amount])&amp;gt;= $(vMin_Invoice_Amt) and sum([Invoice Amount]) &amp;lt;= $(vMax_Invoice_Amt),sum([Invoice Amount]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Correct me if i am wrong!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 19:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Input-Box-variable-extension-how-to-display-default-data-without/m-p/1756440#M58343</guid>
      <dc:creator>LP27</dc:creator>
      <dc:date>2020-10-27T19:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Input Box variable extension-how to display default data without entering min and max in input b</title>
      <link>https://community.qlik.com/t5/App-Development/Input-Box-variable-extension-how-to-display-default-data-without/m-p/1756442#M58344</link>
      <description>&lt;P&gt;you will need nested if loops&lt;/P&gt;&lt;P&gt;roughly&lt;/P&gt;&lt;P&gt;if (&lt;STRONG&gt;len($(vMin_Invoice_Amt))&amp;gt;0 and len($(vMax_Invoice_Amt))&amp;gt;0&lt;/STRONG&gt;&lt;BR /&gt;, if(Sum([Invoice Amount])&amp;gt;= $(vMin_Invoice_Amt) and sum([Invoice Amount]) &amp;lt;= $(vMax_Invoice_Amt),sum([Invoice Amount]))&lt;BR /&gt;&amp;nbsp;, if (l&lt;STRONG&gt;en($(vMin_Invoice_Amt))=0 and len($(vMax_Invoice_Amt))&amp;gt;0&lt;/STRONG&gt;,if(sum([Invoice Amount]) &amp;lt;= $(vMax_Invoice_Amt),sum([Invoice Amount]))&lt;BR /&gt;,....&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&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;</description>
      <pubDate>Tue, 27 Oct 2020 19:56:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Input-Box-variable-extension-how-to-display-default-data-without/m-p/1756442#M58344</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-10-27T19:56:34Z</dc:date>
    </item>
  </channel>
</rss>

