Creating a Combo Chart in Power BI: understanding the multiple Y-axis
If you are experiencing some difficulty with creating combo charts in Power BI that replicate those found in Excel. Then, fear not, because this is the right blog for you. In this blog, we will delve deeper into combination charts, by using the Line and clustered column in Power BI and then adding some tweaks to it. We will also look at using both percentage and absolute values when creating the multiple axes for your chart. To kick off this topic, I will explain some of the differences that you can expect between the combo chart in Excel vs the one in Power BI, thereafter, I will take you through the steps in creating the Power BI version of this chart.
Comparing the Excel chart with the Power BI chart: an overview
It is important to note the differences in the charts above.
The Target value is represented by a line in excel, but a column in Power BI.
The Current and Target values are in percentage format in both charts, while the Absolute value is a numeric value.
In excel (left image) you can have more than one visual indicator per axis:
So, you have a line and a column on the left axis. The line represents the Target value and the columns represent the Current value, both of which are percentage types.
In Power BI, however, you can only have one type of visual indicator per axis, so here you can only have columns or lines on the left axis. So because both the Current value and the Absolute value are percentages and both are on the left Y-axis, both will be represented as columns, but in different colours. And on the right Y-axis, we see the Absolute value is indicated with a line.
Lets now take a look at the steps needed to create this chart in Power BI:
(Step 1) Select the appropriate chart from the visuals pane in Power BI
This one is straight forward, you just select the appropriate combo chart that you want.
(Step 2) Select the fields for your multiple Y-Axes
When selecting the fields for your chart, make sure that you group the correct types with each other. So, in this case, the Current value and Target value are both percentages. The Current and Target value is represented by columns on the left axis. The line values indicate the Absolute value and will be plotted on the right axis.
(Step 3 ) Formatting the multiple Y-Axes
Make sure to switch on, the legend, Y-axis, X-axis, Data labels, and title of the chart.
Then for the Y-axis, we will start with the primary axis (left axis) which will plot the Current and Target values. Navigate to the Y-axis, and switch it on.
The title, in this case, will be the Current value and Target value of the KPI.
It is very important not to define a start and end value for your Y-axis in this case:
You can leave it on Auto, otherwise, you won’t be able to align your left and right axis later on.
Now, over to the secondary axis (right axis):
Similar to the primary axis, you need to switch on the secondary axis for your combo chart.
At this stage, you need to align the zero’s so that the chart can start plotting from zero on both sides.
For this axis, you will select Position, right, to have the absolute value shown on the right.
Thereafter, you can switch on the title and name your title what you want, in this case, Absolute value:
When creating combo charts in Power BI by making use of the Line and clustered column chart you need to make sure that:
Group data types that go together on the same axis, i.e. percentage on the Primary axis, and absolutes on the Secondary axis.
Don’t define a start and end value for the axis, unless you don’t want the axes to start at 0.
Switch on the axis if you want to view the data type.
Mariska is a curious and responsible Data Analyst with a creative and analytical approach toward finding solutions to problems. She’s a highly driven individual, with a Postgraduate degree in Economics. She is skilled in effectively interpreting findings and circulating information optimized for application by end-users as well as improving on and building new processes and procedures.
We have been working with Johann and Dmitri for almost a year now. From concept to design and implementation, they have been nothing but professional and timely. They leveraged Azure and Power BI to sort and report our point of sales data. We have no reservation when it comes to recommending Data Bear and look forward to our continued partnership.
The DataBear team has been great to work with! They take the time to understand the problem and then put together a real-time solution. It's also great when they responds so quickly! We will continue to work with them!
Fantastic training delivered clearly and effectively. Training was delivered at a pace that reflected our individual abilities and Johan ensured everything was clearly understood before moving on. Would happily recommend!
We had the pleasure of attending the 2 day BI Course. Not was not only very informative, it was made extremely enjoyable by the very knowledgeable Johann who presented in a way we all understood. Highly Recommend anyone looking for some BI training to contact Data Bear
Great Power Bi training in London. A very comprehensive overview of this platform with a thorough agenda, good training materials and a friendly group; Johann is an excellent trainer with a great depth of knowledge and experience in Power Bi. Highly recommended.
DataBear were a pleasure to deal with. We had a 2-day training workshop at our own location, Johann was very knowledgeable, not only delivering a well structured and organised piece of training, but also able to answer questions quickly. Thank you for a superb experience.
Super clear instruction and tutoring by Johann. Great size of group (6) - meant that no-one in the class was left behind, and it seemed those ahead - were not too held back. It is a lot of info to take in for the 2 day course. Would highly recommend the 3 day course where possible! Jon Brown
I recently attended the 2-day Power BI Course run by Johann. This was an intensive and extremely valuable course. Johann is a great instructor, he knows the subject well, and his pace is spot-on. There were many clear and easy-to-follow examples, and the emphasis on practical learning makes this a very worthwhile two days. I would recommend doing the three day course however, as there is so much content and I left wanting just a little more exposure to the final module. Many thanks Johann!
Being new to Power BI I was keen to organise some training for our UK data team. After some Googling I decided on Databear and gave them a call. Johann promptly called me back and we discussed the various training options and we arranged some onsite training to be held at our own offices. Johann provided two excellent days of training, full of knowledge, insight and explanations. With Johann you get right in to using the tool and apply what you are learning as you go. I would highly recommend Johann to anyone interested in learning how to use Power BI correctly and effectively.
I attended the three day PowerBI training course with Johann and found it extremely valuable and insightful. Johann has an excellent knowledge of the subject and the lessons are well structured. I would recommend people take the opportunity to learn and grow their skills through Data Bear .
Data Bear came in to run a two day course on Power BI, the attendees were from various levels of excel experience, but Johann kept the training relevant to all levels and made sure to carry everyone along.
a very good way to start your Power BI journey.
Excellent intensive, small group two-day course - best practise on data modelling was the most valuable section for me as this underpins the success of everything you could possibly want to achieve in Power BI! Highly recommend for those who have go their teeth into Power BI already and want to produce more effective and efficient work but also great for complete beginners as Johann will adapt to suit your needs, even in a mixed group.
I have just attended a 2-day PowerBI course ran by Johann. The course is very comprehensive and intense. I would suggest anyone who plans to attend the course to have some basic idea of PowerBI first. This will make the 2-day less daunting. Having said that, Johann was super helpful and patient both during and after the course. A classroom course beats any online course hands down.
Had a fantastic three days with Johann, and would thoroughly recommend to anyone looking to improve their PowerBI skills. His (and Data Bear's) approach to training is very intuitive and helps with real-life examples. The training was adapted to the areas I required further guidance on which provided a very, very quality experience. Happy to say I will be undertaking further training with Data Bear in the coming months.
Excellent course. Had the pleasure of being tutored by Johann in the 2-day Power BI introduction. By the end of it I was able to go back to work and start producing reports I had hoped to - almost straight away. Highly recommended.
The course was taught by the founder of Data Bear, and I was thoroughly impressed by it. It was taught a fast but engaging pace with several well thought out exercises throughout the 3 days that really helped embed the core subjects Johann was teaching us. I would highly recommend this course to anyone starting off in Power BI who wants to quickly attain a good level of knowledge.
Great course! My colleagues and I had a private 2 day training with Johann. The course was exactly what we were looking for in order to get a solid understanding of PowerBI. He took us from zero to a level where we feel confident enough to start creating our own reports. He was happy to deviate from schedule, answer all our questions and tailor the content based on our needs. Highly recommended!
3 day Power BI Training - Johann is a great instructor and assisted in every aspect to understand the core concepts. It's a great course and would definitely recommend to anyone who wants to learn Power BI.
A very worthwhile investment of time and money. I've been using Power BI for 6 months learning by trial and error. This course really provided the context I needed. Its a very well structured and hands-on course. My only regret is that I didn't sign up for the full 3 days as there was stuff in the 3rd day which would have been beneficial too.
Very well structured course that provided all the building blocks to be able to master PBI. Would highly recommend. The instructors were also very willing to help me outside of the lessons with any questions relating to projects i was working on. If you want to save a lot of time when starting out with PBI, this course will teach you all the fundamental best practice techniques you should be using.
My firm recently contracted Data Bear to improve our implementation of Power BI embedded. Their engineers have a very high level of technical acumen, and had experience in several different technologies. I would highly recommend their services.
Outstanding private training from Data Bear, can highly recommend for anyone that needs some comprehensive tuition on Power BI - great company who were adaptive to my needs and very limited experience in this area.