<?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 create a input box that inputs days and then convert it to hours? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911409#M985366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Interval Function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Interval(vWorkingDays * 9.5/24, 'hh:mm')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2015 09:17:06 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-08-05T09:17:06Z</dc:date>
    <item>
      <title>How to create a input box that inputs days and then convert it to hours?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911403#M985360</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;I have two input box. 1- for number of days worked , 2 - for the number of days in field (for sales people)&lt;/P&gt;&lt;P&gt;The data entered is in number format and I want to multiply it into 9.5 and change it to hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea of how this can be achieved. ?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/95029_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 09:03:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911403#M985360</guid>
      <dc:creator>snehamahaveer</dc:creator>
      <dc:date>2015-08-05T09:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a input box that inputs days and then convert it to hours?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911404#M985361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shena, in example, if the variable is named vWorkingDays you can use this expression:&lt;/P&gt;&lt;P&gt;=vWorkingDays*9.5*24&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 09:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911404#M985361</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-08-05T09:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a input box that inputs days and then convert it to hours?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911405#M985362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If create another variable for it. For example if vVar is the variable which is linked to your current inputbox, create&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vVar2 = vVar * 9.5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I might not have understood your requirement well enough, but seems like this is what you wanted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 09:09:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911405#M985362</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-05T09:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a input box that inputs days and then convert it to hours?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911406#M985363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Thanks Ruben and Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did use the logic mentioned. But again,&lt;/P&gt;&lt;P&gt;if I choose the number of working days to be 18 and multiply it with 9.5 = 171(this is number and not hours) how to change 171 to 171:00 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to change it? I tried - Date(vWorkingdays*9.5, 'hh:mm') but it did not convert to the right value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 09:14:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911406#M985363</guid>
      <dc:creator>snehamahaveer</dc:creator>
      <dc:date>2015-08-05T09:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a input box that inputs days and then convert it to hours?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911407#M985364</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;Create 2 different variables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one variable(Var_1): Working days input box&lt;/P&gt;&lt;P&gt;second variable(Var_2): while creating enter the expression like Var1*905&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now create one more input box with var_2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now based on the Working days the infield days will change&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 09:15:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911407#M985364</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2015-08-05T09:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a input box that inputs days and then convert it to hours?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911408#M985365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, I didn't understand it right, then it should be:&lt;/P&gt;&lt;P&gt;=Interval(vWorkingDays*9.5/24, 'hh')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;=Interval(vWorkingDays*9.5/24, 'hh:mm') // If you want also minutes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 09:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911408#M985365</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-08-05T09:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a input box that inputs days and then convert it to hours?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911409#M985366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Interval Function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Interval(vWorkingDays * 9.5/24, 'hh:mm')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 09:17:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911409#M985366</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-05T09:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a input box that inputs days and then convert it to hours?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911410#M985367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, it worked. Could you please explain why we divide the value by 24? is it to denote the number of hours in a day?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 09:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911410#M985367</guid>
      <dc:creator>snehamahaveer</dc:creator>
      <dc:date>2015-08-05T09:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a input box that inputs days and then convert it to hours?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911411#M985368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, dates and times are really a number and the base unit is 'day', so:&lt;/P&gt;&lt;P&gt;1 = 1 day&lt;/P&gt;&lt;P&gt;1/24 = 1 hour&lt;/P&gt;&lt;P&gt;1/1440 = 1 minute&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 09:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-input-box-that-inputs-days-and-then-convert-it/m-p/911411#M985368</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-08-05T09:25:26Z</dc:date>
    </item>
  </channel>
</rss>

