Do you need a possibility to visualize parameters from different years and to compare different levels of sales between, let’s say, 2020 and 2021 and their evolution? A quick solution, but also creative and easy to execute is to make a combination between a Bar Chart and Candlestick Chart.
While the Tableau Bar Charts will show you the level of growth for each year, the Candlestick will be responsible for highlighting the difference between the two of them that may be a positive or negative evolution.
→ It will be easier to present to your colleagues and managers the sales’ evolution (or whatever parameter you choose) and discuss further initiatives.
→ You will better explain to a client that they should change something in the strategy or keep it on the same path.
→ You will be able to visualize the differences this way, instead of using only bar charts; so, just try and play with colors, values and dimensions.
→ It will be more comfortable knowing that you offered a new different perspective through this ad-hoc chart.
Let’s see how exactly can this be done>
Step 1: Connect to data
→ În Tableau Desktop, connect to Tableau: Sample Superstore
Step 2: Create View
→ Create a calculated field : Sales 2021
IF year([Order Date])=2021
THEN [Sales]
ELSE 0
END
→ Create a calculated field: Sales 2020
IF year([Order Date])=2020
THEN [Sales]
ELSE 0
END
→ Create a calculated field: Sales 2021 (copy)
IF year([Order Date])=2021
THEN [Sales]
ELSE 0
END
→ Create a Measure Values from Sales 2021 and Sales 2020 , select Bar
→ Drag Measure Names on Color
→ Drag Sales 2021 (copy) on Column and create a Dual Axis, select Gant Bar
→ Create a calculated field: Difference
SUM([Sales 2020])-SUM([Sales 2021])
→ Drag Difference on Size on Gant bar
By Eduard Arhire
Find more about Tableau, here:
In this Skillpill, you will learn how to use tSendMail in Talend. tSendMail is a component used to send emails directly from a Talend job. It supports various email protocols, such as SMTP, and allows the configuration of the sender, […]
🚀 Enhance Your Tableau Dashboards: How to Swap a Different View Parameter! 📊✨ Tableau is one of the most powerful tools for data visualization and business intelligence. Its user-friendly interface and rich set of features allow you to create interactive […]
In this Skillpill, you will learn how to create a Parliament Chart in Tableau. A Parliament Chart, or semicircular chart, represents the distribution of parliamentary seats. It is not a standard chart type in Tableau but can be manually created […]