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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Sum of Fields

Hi

i have 3 fileds Copy Time, Build Time, Sync Time with different values , How do i get the average of total of these times..

I have tried below expression for a chart to add a reference line of total avg duration...below but did not work ..Please Help..

= avg(sum ( buildtime,synctime,copytime))

5 Replies
disqr_rm
Partner - Specialist III
Partner - Specialist III

Until you get better and smarter way to do this, enclosed should give you idea of getting this done in a way.

Hope this helps.

Anonymous
Not applicable
Author

I want to show my QVW ...how do i send?

Anonymous
Not applicable
Author

My data is in minutes :

For Eg:

BuildTime - 60

CopyTime-20

Complie Time - 10

So i have to have a reference line in the chart which shows - 30 in the graph

Please let me know how do i write an expression for that??

suniljain
Master
Master

Dear Ramya,

You can also develop logic at script level it will reduce complexity at design level,

(BuildTime+CopyTime+CompileTile)/3 as Avg_Time.

and use Avg_Time on Chart.

Regards

Sunil

shumailh
Creator III
Creator III

While your reply you can go to option tab and add your attachement to share your qvw file.