MIP Logo

Dynamic Titles (Chart and Axis)

This post was originally published on The Data School blog between 2018 and July 2025, before our program was renamed to MIP’s Analytics Career Accelerator. References throughout this article to “The Data School” or “DS” all refer to what is now MIP’s Analytics Career Accelerator. The program, its people, and its commitment to launching outstanding analytics careers remain the same – just under a new name.

If you are having trouble viewing this article, please report it here

Welcome back to my blog. Today I will be showing you how to make dynamic axis and chart titles.

The first step is to create a parameter which will be called Measure. This parameter needs will be set to three measures in our dataset, sales, profit, and quantity. Make sure you add the parameter to the sheet.

Next, you will need to make two calculated fields. One to fill the chart and another for the title. The first is a case statement so that the chart is filled by the measure selected by the parameter. The second is another case statement which will have the units of the selected measure. I will include both calculations below.

If you edit the x-axis, you can select the axis title to be the value of a parameter. You will need to select the Measure parameter to be the title.

If you now edit the chart title to include the selected measure as well as the units.

The chart is now more dynamic for the user.

I hope you have found this helpful.

Share this post