Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Chart Grid with Percent Totals

Hi looking for a bit of help in the Picture below the black chart is what I have created in Qlikview. Basically on a manufacturing process I'm recording the temperature every 10m against a layer. If the temperature is with in limits the dot is Green if it is out side the limits the dot is Red.

All I want to do is count the number of Green dots and show them as a percentage against both the layer and every 10m as shown in blue in the mock up below.

Chart Grid with Percent.JPG

As you can see from the Straight Table view I already have a Pass / Fail Flag, just need to added these up and work out a percentage.

Chart Grid with Percent 2.JPG

Any help would be much appricated.

Thanks

Mark

3 Replies
sunny_talwar

Is Pass/Fail a flag created in script or an expression? Would you be able to provide a sample to look?

Not applicable
Author

Hi Sunny

Thanks for coming back

My Pass / Fail Flag is based on the following equation below.

Basically if the average is between the Upper and Lower Control Limits it = 0, anything else is 1.

=if(avg($(vFieldAT))>= vR1TempLCL, if(avg($(vFieldAT))<= vR1TempUCL, 0, 1),1)

sunny_talwar

May be this for Percentage:

=If(Avg($(vFieldAT))>= vR1TempLCL, If(Avg($(vFieldAT))<= vR1TempUCL, 0, 1),1) /

Sum(TOTAL <[Layer]> Aggr(If(Avg($(vFieldAT))>= vR1TempLCL, If(Avg($(vFieldAT))<= vR1TempUCL, 0, 1),1), Layer, [10 Meters]))