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

Announcements
Document boards are being consolidated, this board no longer allows NEW documents READ MORE

Control Chart

cancel
Showing results for 
Search instead for 
Did you mean: 
Kushal_Chawda

Control Chart

Last Update:

Sep 25, 2024 3:27:27 PM

Updated By:

Kushal_Chawda

Created date:

Mar 20, 2016 3:37:57 AM

Attachments

What is Control Chart?

The control chart is a statistical analysis used to study how a process changes over time. Data are plotted in time order. Control charts are used to routinely monitor quality or simply you can say, control chart is process improvement technique.

There are many types of control charts, but we will focus on the basic control chart using the standard deviation method to understand the concept.

The following are some scenarios where control charts can be applied:

  1. In manufacturing, to test whether machinery is producing products within specifications.

  2. If you want to reduce the time it takes to admit a patient to the hospital.

  3. To analyze how the number of views is increasing or decreasing for a particular website.

 

Components of Control Chat

1) Avg line

2) UCL (Upper Control line) = Avg Value + Std Deviation* Std Dev Multiplier

3) LCL (Lower control line) = Avg Value - Std Deviation* Std Dev Multiplier

So, basically we can see which are the points "Out of Control" or "In Control".

You can control your Std Dev multiplier using variable.

 

How to Create a Control Chart:

  1. Create a Combo Chart.

  2. Select a Time Dimension: Choose a time dimension that suits your analysis; for this example, I have selected MonthYear. Also, ensure that it is set to continuous in the axis settings.

  3. Create Two Expressions: Create one expression for the line and another for the symbol.                              

    Kushal_Chawda_1-1727290724687.png

     

  4. Create expressions for the average line, Upper Control Limit (UCL), and Lower Control Limit (LCL), which will be used as reference lines in the chart. To set these reference lines, go to Chart Properties and navigate to the Presentation section.  

    Kushal_Chawda_2-1727290772273.png

     

  5. Create the Background color setting for the Symbol expression

         if( sum(Sales) < vUCL and sum(Sales) > vLCL, LightGreen(), LightRed())

 

Finally, the chart will appear as shown below

 

 

 

Please refer to the below link for further details

QlikView Control (SPC) Chart

 

Additionally, please see:

Benford's law

Bollinger Bands

Tags (1)
Comments
danielgargiulo
Partner - Creator
Partner - Creator

We have released a Control Chart extension for Qlik Sense.  More information and a 60 day trial can be downloaded from here.  

Key features include: • Outliers Highlighted • Runs ‘above’ and ‘below’ the average highlighted • Trends up and down highlighted • Moving average based on Runs and/ or Trend triggers

Key configuration options include: • Customise Labels for Dimensions, Measures and Rules • Customise Line and point style for Dimensions, Measures and Rules • Pick the number of points to set the highlighting criteria for both Runs and Trends

For more information email: extensions@acumenbi.co.nz .

 

0 Likes
peterderrington
Creator II
Creator II

Could i just clarify something......

The value for vStdDev is set here as "2"

Is this a standard value or does it differ dependant on other factors?

Thanks.

0 Likes
Kushal_Chawda

This is standard deviation and it differs based on requirement. By definition, standard deviation 2 covers the 95% spread of your data. You can use 3 as well to get more spread of your data.

peterderrington
Creator II
Creator II

Thanks for coming back to me, much appreciated. Just wasn't sure what the 2 or 3 equalled when determining standard deviation.

Thank you.

0 Likes
qliky88
Creator
Creator

Hey @Kushal_Chawda great post thanks for your help 🙂 

 

From your own experience do you think this can work with the OOTB combo chart for Qlik Sense? 

 

I want to use the OOTB one as opposed to the Vizlib one due to the Y-Axis automatically adjusting for values, however I cannot seem to locate an option to add a reference line in the OOTB version. 

 

Thanks in advance!

0 Likes
Mhidz
Contributor
Contributor

Thank you Mr. Kushal. 

Please help on how to do this in Qlik Sense?

 

Thanks,

Mhidz

0 Likes
Version history
Last update:
‎2024-09-25 03:27 PM
Updated by: