Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
poluvidyasagar
Creator II
Creator II

Calculate the Chart expression value based on input value

Hi all,

I am trying to calculate productivity of the manpower based on shift using bar chart. However, i would like use to input box to input the number of people in each shift.

Example:

Data: 

PartShiftEvent
A1Finished
B1Finished
C1Finished
D1Finished
E2Finished
F2Finished
G2Finished
H2Finished
I 2Finished
J2Finished

Input Box Variables:

VariablesVariable Value
Number of 1st shift people 5
Number of 2nd shift people3

So,

Productivity of 1st shift people based on finished event time = 3/5 (number of finished events/number of people in 1st shift)

Productivity of 2nd shift people based on finished event time = 5/3 (number of finished events/number of people in 1st shift)

How do i calcuate this in expression because my number of people in shift changes everyday.


Thanks,

Vidya

11 Replies
vishsaggi
Champion III
Champion III

Try this?

Add Dim:

Date

Shift

Expr:

= Pick(Shift, Count({< Event = {'Finished'}>} Part)/$(vShift1People),
                   
Count({< Event = {'Finished'}>} Part)/$(vShift2People))

vishsaggi
Champion III
Champion III

Did you get what you are looking for?