Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I want to create a bar chart like below.
Background Logic:
Sample data of temperatures has been attached below.
requirement:
For each date, there is a highest and a lowest value. I want to calculate on which days the highest and lowest values occurs , aggregated at a weekly level. Please see attached 1st pic.
This will allow me to understand, on average, on what days I need to turn on the cooling systems.
In script it can be solved like:
Hi there,
This is a tricky problem that can be solved with the function FirstSortedValue(), in combination with the advanced aggregation function AGGR().
Allow me to invite you to my Qlik Expert Class that will take place in Vienna, Austria on March 22nd, where I will be teaching advanced development techniques. This problem is just one of many hands-on exercises in my Set Analysis and AGGR() session.
In script it can be solved like:
@rwunderlich I tried like below as I can only implement a Front End solution:
Measure (Y axis in bar chart)
Dimension (X-axis in bar chart) - (WeekDay = Sun, Sat etc. )
However I am not getting the correct answers
@SGV try this:
Dimension: WeekName
Measures:
High:
I don't think this solution is working as I need to use Dayname (Sat, Sun, Tue) etc. in the X axis (as a Dimension). Rob's solution works but I can only do this in the front end