SAP BLOG Pareto chart in SAP Analytics Cloud

SAP Blog

Kayıtlı Üye
Katılım
22 Ara 2017
Mesajlar
1,925
Tepki puanı
7
Puanları
6

Introduction​


In this blog we will explain you how we can create a Pareto chart in SAP Analytics Cloud using a Live Data connection to BW. A Pareto chart is a type of chart that contains both bars and a line graph, where individual values are represented in descending bars and the cumulative total is represented by the line.

The purpose of the Pareto chart is to highlight the most important among a (typically large) set of factors. In quality control, Pareto charts are useful to find the defects to prioritize in order to observe the greatest overall improvement. It often represents the most common sources of defects, the highest occurring type of defect, or the most frequent reasons for customer complaints, and so on.

Pareto%20chart


Pareto chart​

SAP Analytics Cloud​


We will start with the part in SAP Analytics Cloud.
By default available we can add a Combination Column & Line chart to our Story.

Chose%20the%20Chart%20Structure


Next we will add our individual values to the Column Axis and the cumulative total to the Line Axis. Our individual values we get directly from the Composite provider in the BW query. The cumulative total, we will calculate in the BW query which I will explain later on in this blog.

2022-04-11-18_45_45-SAP-Analytics-Cloud.png


As last step in SAP Analytics Cloud, we Sort the chart on our individual values from Highest to Lowest.

Sort%20Highest%20to%20Lowest




Result:

Pareto-1.png


BW Query Designer in Eclipse​


Now let’s have a look at how we can create the measures for a Pareto chart.
In the BW query we will create 3 Calculated Key Figures (CKF): a grand total, a cumulative and a cumulative percentage share.

2022-04-11-18_52_22-hdbstudio-Query-Q_PARETO_CHART-BD5-Active-BD5_400_eyurx_en-BD5-400-EY.png




The first CKF, is a Grand Total/Overall Result formula on the individual values.

2022-04-11-19_07_23-hdbstudio-Calculated-Key-Figure-CKF_NSIR_MAX-BD5-Active-BD5_400_eyurx_en.png




The second CKF, is a Cumulated Result from the individual values.

2022-04-11-19_08_52-hdbstudio-Calculated-Key-Figure-CKF_NSIR_CUM-BD5-Active-BD5_400_eyurx_en.png




2022-04-11-19_10_14-hdbstudio-Calculated-Key-Figure-CKF_NSIR_CUM-BD5-Active-BD5_400_eyurx_en.png






These 2 CKF will be used in the formula of the last CKF.
Here we calculate the Percentage Share of the Cumulated Result to the Overall Result.

2022-04-11-19_13_33-hdbstudio-Calculated-Key-Figure-CKF_NSIR_CUM_PERC-BD5-Active-BD5_400_eyu.png




2022-04-11-19_14_23-hdbstudio-Calculated-Key-Figure-CKF_NSIR_CUM_PERC-BD5-Active-BD5_400_eyu.png


This Cumulated Percentage Share is the Measure we need in SAP Analytics Cloud to create the Pareto chart.



Conclusion


I hope that this blog post helps in understanding that with some extra calculations we can create some nice out-of-the-box solutions in SAP Analytics Cloud.

Please don’t hesitate to provide any feedback in the comment section below! If you are interested in more content related to SAP Analytics Cloud, I encourage you to follow this tag:

Okumaya devam et...
 
Üst