Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello, I didnt think I would have to ask you guys for that but im not getting it to work properly.
first table is my regular data count(distinct) per day per hour
count(DISTINCT {1<PickEvent={'PROGRESS'}>} PickLine)
second table I want to calculate, for all of my available data, the average count(distinct) per hour independent of any date selections.
avg(aggr(count(DISTINCT {1<PickEvent={'PROGRESS'}>}PickLine),PickHour))
Any help is appreciated.
regards,
Lucas
Try this
Avg({1} Aggr(Count(DISTINCT {1<PickEvent={'PROGRESS'}>}PickLine), PickDate, PickHour))
did you tried like below?
aggr(avg(count(DISTINCT {1<PickEvent={'PROGRESS'}>}PickLine),PickHour))
May be you forgot to add PickDate
Avg(Aggr(Count(DISTINCT {1<PickEvent={'PROGRESS'}>}PickLine), PickDate, PickHour))
the calculation is not working, showing no result 😕
I was pretty sure i tried this and it didnt show any result.
anyways, this is working!! thanks!
Avg(Aggr(Count(DISTINCT {1<PickEvent={'PROGRESS'}>}PickLine), PickDate, PickHour))
sorry, it is still not working as intended.
the results are still varying depending on the date selection.
I thought the "1" in the set analysis would refer to the whole data set ignoring any selections 😕
Try this
Avg({1} Aggr(Count(DISTINCT {1<PickEvent={'PROGRESS'}>}PickLine), PickDate, PickHour))
thanks for the quick reply!
now it works perfectly !!
much appreciated