FineBI Version
Functional Change
6.0
/
The stacked column chart can show the proportions of subdivisions in larger categories by splitting each column. The chart can directly display the value of each indicator and the dimension sum. You can use the stacked column chart in the following scenarios.
You need to show the comparison of the traffic obtained from different channels of a product within a week.
The sales department has three subdivisions: sales department A, sales department B, and sales department C. You need to calculate the proportion and change of each subdivision's contribution.
Chart Effect
Dimension Field
Indicator Field
Stacked Column Chart
>=1
>=2
Advantage: The chart can clearly display the value of different indicators in each dimension to help you compare the data volumes of different dimensions.
Disadvantage: The multi-series column chart is unsuitable for data with too many dimensions.
1. Log in to the system as the admin, click My Analysis, click a folder, and click New Subject.
2. Click Local Excel and click Upload Data, as shown in the following figure.
Download the sample data: Week Traffic Data.xlsx.
3. After the upload, click OK.
Click Component in the lower left corner.
Drag the Day field into the dimension column and the fields Direct Access, Email Marketing, Affiliate Advertising, Video Advertising, and Search Engine into the indicator column, and select Stacked Column Chart in Chart Type, as shown in the following figure.
Method One: Custom Sort
1. Hover the cursor over the Day field on the horizontal axis, click the drop-down icon on the right, and set the custom sort.
Method Two: Sort Based on the No. Field
1. Drag the No. field into the Fine-grained column, as shown in the following figure.
2. Hover the cursor over the Day field on the horizontal axis, click the drop-down icon on the right, and choose Ascend > Number (Sum).
The graphic properties set in All apply to all indicators; the graphic properties set in the individual indicator only apply to that indicator.
Setting the Label
1. Drag the indicator fields Direct Access, Email Marketing, Affiliate Advertising, Video Advertising, and Search Engine respectively into Label under the column with the same name as the indicator filed in Graphic Property, as shown in the following figure.
2. Click Label in All and set Label Location to Center.
Setting the Color
Click Color in All and select the color scheme Green.
On PC
The following figure shows the preview effect on PC.
On Mobile Terminals
The following figure shows the preview effect on the DataAnalyst app and in HTML5.
Problem
If the value of an indicator is 0, the indicator will also be displayed in the stacked column chart.
Solution
Convert 0 to the null value.
Click the drop-down icon, click Add Calculation Indicator, and enter a function. For example, use calculation indicators to remove 0 from Direct Access and Email Marketing and form new indicators Direct Access 1 and Email Marketing 1, as shown in the following figure.
Calculation Indicator
Function
Description
Document
Direct Access 1
IF(SUM_AGG(${Direct Access})=0,null,SUM_AGG(${Direct Access}))
If the value of Direct Access is 0, null returns; otherwise, the original value returns.
IF() function
SUM_AGG
Email Marketing 1
IF(SUM_AGG(${Email Marketing})=0,null,SUM_AGG(${Email Marketing}))
If the value of Email Marketing is 0, null returns; otherwise, the original value returns.
Effect Display
Use Direct Access 1 and Email Marketing 1 to make the stacked column chart. The following figure shows the effect.
滑鼠選中內容,快速回饋問題
滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。
不再提示
10s後關閉
Submitted successfully
Network busy