Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Please find the attached QVW.
I have a field with Most Frequent time and Most Frequent Out time.
Based on the frequency of Most Frequent time/Most Frequent Out time,
If frequency is more then it has to display that.
It is clearly explained in QVW.
Regards,
Keerthi KS
But which one? Anyone?
The highest one means MostFrequentIntime is more.
Try this:
=FirstSortedValue(distinct
MostFrequentInTime,
Aggr(-count(MostFrequentInTime),EmpBasicInfoID,MostFrequentInTime )
)
Some Errors in the expression
Don´t worry tt shows as errors, but evaluates, maybe a bug
Thanks a lot Clever. Its working
I think a better solution would be
=alt(Mode(MostFrequentInTime), // Try mode first, and then FirstSortedValue if Mode() returns null
FirstSortedValue(distinct
MostFrequentInTime,
Aggr(-count(MostFrequentInTime),EmpBasicInfoID,MostFrequentInTime )
))
When you are using Distinct/NoDistinct with FirstSortedValue, it will show you red lines.. Which is bug !