Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
EliGohar
Partner - Creator III
Partner - Creator III

Finding maximum value - Cumulative Calculation

Hi All,

I'm having this table with the following data:

EliGohar_0-1612087903380.png

The table presents data of Entering vs. Exiting people by date and hour.

I want to create KPI that finds the max value for a specific date from my cumulative expression (in the above example, the max is 403).

I tried this expression:

=max(aggr(rangesum( above( count({<[Class Category ID]={0}, [Path & Area]={'Entering'}>} ObjectID),0,rowno()))- 
rangesum( above( count({<[Class Category ID]={0}, [Path & Area]={'Exiting'}>} ObjectID),0,rowno())),Date,[Hour (hh)]))

 

But I got wrong value.

Please assist me with the correct expression.

Thanks,

Eli.

11 Replies
EliGohar
Partner - Creator III
Partner - Creator III
Author

@Ksrinivasan Peek function can be used only from the script.

I'm looking for a solution within the client (Dashboards).

 

Anil_Babu_Samineni

To build up your dashboard is again work for us, rather load the data and share in QVW or QVF so that we will do quicker and will try our best

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful