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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to calculate daily average temperature?

Dear Qlikview users,

I have a dataset which consist of a hourly logging (per day) of the temperature outside.

I want to create a new temperature field called temperature_per_day which holds the daily temperature value.

How can I achieve this?

I added the dataset as an attachement.

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Best way is to start by splitting the datetime field into date and time fields in the script. Then you can either calculate the average in the script too or only in a chart. See attached example.


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Best way is to start by splitting the datetime field into date and time fields in the script. Then you can either calculate the average in the script too or only in a chart. See attached example.


talk is cheap, supply exceeds demand