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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
bhaskarsharma03
Creator
Creator

Straight table question

Hi,

The attached file gives the temperature of different cities which are divided into different zones. I want to create a straight table that displays

City

Temperature of City

Avg Temp in the zone the city falls into

The delta between City temperature and avg temperature in the zone

The output should look like the below table. Please let me know if this can be handled in set analysis itself (how) or we need to take care of Avg zone temperature at the script level before fetching it to the front end.

CityCity Avg TempZone Avg TempDelta
Ahmedabad46388
Bangalore3339-6
Chandigarh4044-4
Chennai44395
Delhi45441
Gurgaon46442
Guwahati34322
Hyderabad3839-1
Kolkata36324
Lucknow44440
Mumbai3638-2
Noida45441
Pune3238-6
Salem42393
Shillong2532-7

Thanks in advance,

Bhaskar

3 Replies
michael_maeuser
Partner Ambassador
Partner Ambassador

Hi,

see attached

bhaskarsharma03
Creator
Creator
Author

Hi Michael,

Thanks for the response. I was however looking for a solution that doesn't require using aggregation function at the script level. Is it possible to achieve the same result without touching the script?

Regards,

Bhaskar

Not applicable

Hi Bhaskar,

Please find a front end and a back end solution in the file attached.

Regards


Rahul