Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Shahzad_Ahsan
Creator III
Creator III

How to multiply amount with time

He everyone

I need to calculate 'Result' filed.

Result = Time * Amount

Convert the time in minutes.

Time(HH:MM)AmountResult
3:4514.23195
1:303.65328.5
0:354.25148.75
0:5612.59705.04
1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

=Time#([Time(HH:MM)],'hh:mm')*24*60 * Amount

View solution in original post

4 Replies
MK_QSL
MVP
MVP

=Time#([Time(HH:MM)],'hh:mm')*24*60 * Amount

amijit_hazarika
Contributor III
Contributor III

Hi Manish,

This will definitely work. But wanted to know if the below would work too?

=Time#([Time(HH:MM)],'hh:mm')* 3600 *Amount

MK_QSL
MVP
MVP

NO... you are 3600 <> 24*60

3600 can be used when you have hour field and you want to convert to second.

I mean when you have Amount per second.

Shahzad_Ahsan
Creator III
Creator III
Author

Hi Manish

Thanks for your answer

This is working fine.....