Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

hi need urgent reply

hi ...can any one help me this issue...

I have a metric "AHOT Minute" and now i need to disply this in expression section of chart properties for that i used below defination to get AHOT Minutes,

 

=

sum(AHOT_MINUTES

)

So for this getting value like below

  

AHOT Minutes
50,701,420.40

But i want to disply AHOT minutes in the form of Days or Months.....is it possible to get like that ....?

Labels (1)
1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

sum(AHOT_MINUTES)/1440 will give you the number of days. Divide it again by 30 and you approximately have the number of months


talk is cheap, supply exceeds demand

View solution in original post

7 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

sum(AHOT_MINUTES)/1440 will give you the number of days. Divide it again by 30 and you approximately have the number of months


talk is cheap, supply exceeds demand
sushil353
Master II
Master II

if you divide the above fig by (24*60) you will get days and further if you divide it by (30*24*60) then you will get month.

is it what you are looking for...?

Regards

Sushil

Not applicable
Author

Yeah thanks for that rply ...now i am getting result like this ...

2868.1940740741              Days(s)

But now the cace is need to disply only 3 digits after point like  2868.194, pls help me to get that result...

n1ef5ng1
Creator
Creator

Properties -> Number -> Select field -> decimal -> set it as 3

Not applicable
Author

Yeah thanks for that rply ...now i am getting result like this ...

2868.1940740741              Days(s)

But now the cace is need to disply only 3 digits after point like  2868.194, pls help me to get that result...

Not applicable
Author

Yeah thanks for that rply ...now i am getting result like this ...

2868.1940740741              Days(s)

But now the cace is need to disply only 3 digits after point like  2868.194, pls help me to get that result...

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try num( sum(AHOT_MINUTES)/1440, '#.000')


talk is cheap, supply exceeds demand