Skip to content

How to Create a Dashboard in Excel

    Dashboards are a very powerful tool for data analysis in Excel. Dashboards are ubiquitous in business management controls and can be created using numerous tools, including Excel.

    Cover: how to create a dashboard in Excel

    My favorite definition, roughly translated, is the one offered by John Walkenbach, Michael Alexander, and Richard Kusleika in the book Excel 2019 Bible:

    A dashboard is a visual interface that provides an at-a-glance view of key metrics related to a particular business objective or process. Dashboards have three main characteristics:

    • Dashboards (also known as control panels) are typically graphical in nature and provide visualizations that help focus attention on trends, comparisons, and exceptions.
    • Dashboards often display data that is relevant only to the dashboard’s specific purpose.
    • Since dashboards are designed with a specific purpose or objective in mind, they inherently contain predefined conclusions that relieve end users of the need to perform their own analyses.

    Essentially, dashboards aggregate various data points into a single view to derive insights useful to the business. They can be updated quickly and feature a variety of visualization types, incorporating tables, charts, and text comments, all calculated automatically.

    Excel lends itself very well to creating dashboards, although there are clearly many tools on the market dedicated exclusively to dashboard creation: we’re talking about BI (Business Intelligence) solutions such as Power BI or Tableau, which are more restricted from the user’s perspective but perform excellently when it comes to summarizing massive amounts of data.

    In this guide, we’ll see how to create a dashboard entirely in Excel using a database with 7,500 rows. Our goal is to create a dashboard that summarizes the total sales margin broken down by movie, region, and format (Blu-ray, DVD, Digital), filterable by the movies’ rating and also by different sales periods.

    Here you can download either the starter file to follow the step-by-step guide or the completed file with the final dashboard:

    How to Define the Source Data for Creating a Dashboard in Excel

    Excel dashboard with margin charts by movie, type and region, a slicer and a timeline

    The ideal process for obtaining the data needed to create a dashboard in Excel would be as follows:

    • Data is retrieved from data sources using Power Query. This way, simply updating the queries allows you to obtain the latest results, ensuring that the data is constantly updated with just a few simple steps. Power Query has the advantage of being step-by-step, so you can review each data cleaning step and take action if any data has changed while you’re working on the analysis
    • From Power Query, the data is loaded into an Excel table . If the dataset is too large, that is, more than 1 million rows, we’ll use Power Pivot directly without this intermediate step. We can also go directly to the PivotTable if we’re confident the data is correct. Tables can be useful for verifying that the data is correct before diving into the analysis: since they originate from Power Query, any update to the queries will ensure that this data remains correctly updated even weeks or months after the file was created.
    • From the table, we move on to one or more PivotTables. These PivotTables are the simplest way to create the foundation for dashboards, as they allow us to link different pieces of information together without using any code or formulas
    • From the PivotTables, we move on to charts. This is the final step needed to add information to the dashboard, which will generally consist of several charts, each serving a specific purpose

    It goes without saying that Excel dashboards can be created in many different ways. I often use a combination of Power Query and tables to create custom structures based on Excel for Microsoft 365 formulas, as I appreciate their flexibility: being able to work with the data source as I see fit gives me more freedom when creating particularly complex dashboards. That said, I also frequently use the method described in this guide, since PivotTables remain an indispensable tool for quick analysis in Excel.

    If you’ve never used Power Query and think the process described above is too complex for your needs, don’t worry. Ideally, though, your source data for the Excel dashboard should already be in a table format. If it isn’t, simply click inside your data range > Insert > Table. Alternatively, click inside the range and press CTRL+T, the result will be the same. Excel will ask you which cells to include in your new table and whether there are any headers: I hope there are, since a table without headers would make our analysis work much more complicated. The recommendation to use tables applies regardless of this guide, since they’re much easier to use as a basis for formulas, update automatically, and greatly simplify the management of our business files.

    How to Create a Dashboard in Excel Using PivotTables

    PivotTables are a valuable tool for creating dashboards in Excel. In this case, we’ll use them because we’ll link three different PivotTables together for a specific purpose: we’re discussing the profit margin achieved in recent years and want to get a comprehensive view of certain metrics we believe are useful for analysis.

    Here’s a dedicated guide on how to create, update, and modify PivotTables in Excel, in case you’re interested.

    We’ll create three different PivotTables, which we’ll then link using a slicer and a timeline. The process is exactly the same even if you’re using your own work files, so feel free to follow the guide using the file provided here or your own company files.

    PivotTable with the total margin by movie and year

    First, let’s create our first PivotTable: we want to calculate the margin per movie for the years under consideration. In the attached file, you’ll find it already on the sheet named PIVOT.

    PivotTable from table or range dialog placing the PivotTable on sheet PIVOT at I6

    Now, let’s create our second PivotTable. Unlike the standard procedure, where the PivotTable is created on a new sheet, select “Existing Worksheet” in cell I6 of the PIVOT sheet. This will give us an overview of our margin, avoiding the need to use multiple sheets to review the results: the goal of the dashboard is precisely to provide an overview, so it’s perfectly fine to aggregate multiple PivotTables on the same sheet.

    You can also copy and paste the previous PivotTable and then modify it, but I think it makes more sense to start from scratch since we’re looking at slightly different data for our dashboard.

    Empty second PivotTable added next to the first one

    At this point, you’ll have a view that looks like this. Enter “Type” in the Rows section and “Margin” in the Values section.

    Second PivotTable showing the sum of margin by type

    We now have our two PivotTables. On the same screen, we can see the totals for both individual media types and for movies.

    PivotTable Design tab with layout and style options

    I strongly suggest changing at least the colors of the individual tables to make them easier to read. You can do this from the Design menu associated with each PivotTable, in the section called “Quick PivotTable Styles.” You can then change the color as you prefer, always opting for light colors. Styles that are too colorful can confuse those who will be using this data, so stick to soft colors.

    PivotTable from table or range dialog placing the third PivotTable at I13

    We need a third PivotTable, so let’s repeat the procedure we saw earlier. Let’s insert the PivotTable on our existing worksheet again , but this time in cell I13.

    When it comes to setup, always be cautious when one PivotTable is positioned below another. If we had numerous new PivotTables, this could cause problems during updates. In our case, we know this isn’t the case, so we can stack them in the same column.

    Three PivotTables with the total margin by movie, type and region

    The steps are the same as before, but this time we’ll enter “Region” in the “Rows” section and “Margin” in the “Values” section. We’ll also modify some of the labels to make them clearer by simply clicking inside each cell and choosing the text we prefer, changing “Row Labels” to “TYPE” or “REGION.”

    At this point, we have our initial PivotTables, but the data doesn’t seem to be very interconnected. The PivotTables are, in fact, disconnected: if we filter one, the others won’t change the values they contain.

    How to Apply a Slicer to a PivotTable in Excel

    Slicers are the new PivotTable filters in Excel that allow you to link multiple PivotTables together. Slicers are also available in regular tables and appear as large buttons that let users select the data they want to view, creating dynamic dashboards. I often use slicers when creating dashboards, as they’re very intuitive for the end user and let you quickly see which data points are included in the statistics you’re analyzing. If, on the other hand, you use standard filters, you might forget they’re there since they appear above the PivotTable, and if you remove them, you might lose track of them.

    PivotTable Analyze tab of the ribbon with the Insert Slicer button highlighted

    The procedure for adding slicers is actually very simple. Just click on the PivotTable you’re interested in > PivotTable Analyze > Insert Slicer, and you can add as many slicers as you want. This type of filter works regardless of the type of data in the file, so it works with both numbers and text.

    Insert Slicers dialog with the AGE_RATING field selected

    In our case, we’re interested in “AGE_RATING,” so we click the checkbox and then OK.

    AGE_RATING slicer filtering the three PivotTables for VM14

    A screen like this will appear: we’ve created a new slicer that affects only the first PivotTable. Initially, all fields will be selected, but clicking on “14+” will update only the results for our first PivotTable. We can tell this because the grand total varies from “MOVIE” to “TYPE,” so there’s still some work to do to create our dashboard. However, we’re almost done with the data preparation phase.

    If you want to select multiple values, simply click in the top-right corner where you’ll find the list with all the V’s, while clicking the funnel icon will clear your selection, and the PivotTable will revert to showing all results.

    Slicer tab of the ribbon with caption, styles and size options

    When you create the slicer, you’ll notice that a new context menu called “Slicer” will also open. Let’s take a look at how it works:

    • Slicer: This section lets us configure some useful settings and edit the name displayed at the top of the filter. In the settings, for example, we can choose whether to display the header or whether we want to see blank values
    • Report Connections: This section is the secret weapon, as it allows us to link the various PivotTables together. By clicking on Report Connections, we’ll see which PivotTables our slicer is connected to: if we add one, it means our filter will apply to both
    • Slicer Styles: This section is purely for layout, similar to the options for tables or PivotTables. You can use it to customize the colors of individual slicers or create your own style
    • Arrange: This section is very similar to PowerPoint. It can be useful for setting the z-order relative to other elements on the same sheet, allowing you to create custom layouts
    • Buttons: This section may be useful for adding columns to better display headers, or for defining the exact size of the slicer
    • Dimensions: This section is similar to the one found on charts in Excel. You can adjust the position and layout, for example, by locking the slicer in a specific position to keep the structure fixed

    Now let’s see how to use our slicer to link the different PivotTables together.

    How to Link Multiple PivotTables in Excel to Create a Dashboard

    We’ll use the slicer to link different PivotTables in Excel to each other, so we can create our dashboard. Let’s see how to do this in a few simple steps.

    Slicer tab with the Report Connections button highlighted

    We’ve already created our filter, so we can click on the filter and then on “Report Connections.”

    Report Connections dialog with the slicer linked only to PIVOT_SALES

    As you can see, in this case we’ve linked only the first PivotTable, the one related to movie sales. This is an extremely useful feature that you’ll use frequently when creating dashboards from scratch.

    Report Connections dialog with the slicer linked to all three PivotTables

    To link all the PivotTables, simply click on each one. This way, all the tables will be affected by the same slicer: when you change your selection, the data in each PivotTable will change as well. This approach to managing dashboards is perfect if you know your target user isn’t very experienced with Excel, since they’ll only need to click on buttons without having to modify the underlying PivotTable structure.

    Slicer filtering all PivotTables for the T age rating

    As you can see, selecting the value “14+” now also changes the results for “TYPE” and “REGION.” A single slicer controls all three PivotTables and gives us great flexibility in creating dynamic dashboards. We could also add more slicers and, by repeating the previous steps, include additional dimensions of analysis.

    How to Create a Dashboard in Excel

    Our PivotTables are linked, and now we can create a full-fledged dashboard in Excel.

    Insert Chart dialog with the Clustered Bar chart selected

    First, let’s start by creating charts for each PivotTable. You can do this simply by clicking inside the PivotTable > Insert > Chart or by clicking inside the PivotTable > PivotTable Analyze > PivotChart. Since the movie titles are quite long and numerous, let’s insert a bar chart.

    PivotChart of the total margin by movie on a new worksheet

    Next, we’ll cut and paste (CTRL+X and CTRL+V) to move our chart to another sheet, named Sheet1. We’ll rename it DASHBOARD shortly.

    This step is important to separate the data source, the PivotTable, from the final visualization, which is our dashboard. Users will interact exclusively with the dashboard, avoiding any changes to the original PivotTable.

    Movie filter menu of the PivotTable with More Sort Options highlighted

    One tip is to sort the source data, since otherwise the chart may look a bit confusing. By clicking on the PivotTable > clicking on the MOVIE menu > More Sorting Options..., you’ll see that you can choose the order for the data.

    Sort MOVIE dialog sorting movies in ascending order by total margin

    In this case, we’ll choose to display the MOVIE in ascending order by TOTAL_MARGIN on the PivotChart. This happens because the bar chart reverses the original data, so the chart will first show the movies with the highest margin, followed by the next ones, and so on until it displays those with the lowest margin. This is something to keep in mind when using bar charts: you can achieve the same result by reversing the data on the chart, but I’d recommend using ascending sort order as described.

    Bar chart showing the total margin by movie

    Once sorted, the chart should look something like this. Clearly, there’s a lot of data, so it might be hard to read if you don’t have a large screen. Generally speaking, 50 movies (as in our case) are a bit too many for a detailed analysis, however, by filtering by rating, the number will decrease considerably and allow us to obtain more precise information about our company’s performance.

    Dashboard with the three charts before adding the slicer and the timeline

    Let’s create two more charts for the dimensions in question. For TYPE, I’ve included a grouped column chart, while for REGION I’ve again included a bar chart, sorting them each time to aid understanding.

    Dashboard with the three charts and the AGE_RATING slicer

    We can now add the final element to the dashboard: the slicer focused on AGE_RATING. Again, we’ll use cut and paste (CTRL+X and CTRL+V) and place it next to our charts.

    At this point, our dashboard is complete! By clicking on the various slicer options, we’ll update the results of all three charts in real time. We can always add more charts or change the initial ones, just be careful to modify the PivotTables first, since the charts themselves might change.

    This dashboard can serve as the starting point for a much more complex dashboard, perhaps enhanced with corporate branding elements, automatically generated messages for our audience, and other graphical elements to aid understanding. In any case, we’ve successfully linked three charts that can be very useful to us, since we can reuse this structure for various analyses that can be conducted quickly simply by using the slicer button.

    One area for improvement could be adding a timeline. Let’s see how it works.

    How to Add a Timeline to a PivotTable in Excel

    A timeline can add a time dimension to our Excel dashboard. Timelines are useful tools for performing specific drilldowns on specific time periods without having to resort to complex formulas, and fortunately, they’re fairly simple to add to PivotTables.

    PivotTable Analyze tab of the ribbon with the Insert Timeline button highlighted

    In our example, let’s go back to the original PivotTables. In the PivotTable Analyze menu, select Insert Timeline, which will allow us to create a timeline linked to the original PivotTable.

    Insert Timelines dialog listing the SALE_DATE date field to add

    The main difference from slicers is that Excel will select only the columns in the table that contain dates. Understandably, we cannot use the timeline with columns that do not contain dates, since the timeline would serve no purpose. This is also a useful check for your original table, since sometimes dates may not be interpreted correctly by Excel and therefore may not appear.

    Timeline tab of the ribbon with caption, styles and display options

    The timeline also has its own dedicated menu:

    • Timeline: In this section, we can choose the name to display for our timeline and the relationship connections, which work exactly like those for slicers. From here, we can link different PivotTables
    • Timeline Styles: This section allows you to change the timeline’s style, as well as create your own custom style
    • Arrange: This section is identical to the one for slicers, allowing you to sort and align elements on the sheet
    • Dimensions: This section lets you set the overall size of the timeline and make other minor layout adjustments, such as locking the timeline in place on the sheet
    • Display: This section further customizes the layout used for our timeline. For example, we can hide the header or the scroll bar, depending on our preference

    Each dashboard has only one timeline, since it wouldn’t make sense to use more than one when filtering by individual dates. By default, the timeline also lets you select time periods such as months, quarters, and years. This is particularly convenient because you can dynamically select these intervals, for example, by entering Q2–Q3 of a given year.

    Timeline context menu with the Report Connections command

    Once you’ve set up your timeline, you can access “Report Connections” again, this option is available both in the context menu and by right-clicking on your timeline.

    Report Connections dialog linking the timeline to all three PivotTables

    As with filters, we must ensure that we’ve included all our PivotTables in the timeline as well. Otherwise, we risk omitting some PivotTables, which could result in incomplete outputs that might be misinterpreted.

    Excel dashboard with margin charts by movie, type and region, a slicer and a timeline

    At this point, our dashboard is complete! We can filter by age rating as well as by the various time periods that interest us. The end user might not even see the PivotTables, since the dashboard would function just the same even with the sheet hidden. As we mentioned, dashboards are particularly useful during the analysis phase, allowing you to quickly view various pieces of information in a single view. This dashboard can certainly be made more visually appealing and sophisticated, but the process won’t change significantly even if you were to repeat it with your own files: the key is to have a clear business question in mind, so you can focus directly on the goal and use Excel to your advantage. A dashboard like this requires minimal maintenance and creates a scalable structure that’s very convenient for both those who create it and those who use Excel, aiding the analysis process without having to resort to formulas or other, undoubtedly more complex tools.

    Conclusion

    A dashboard starts from clean source data and a clear question: PivotTables summarize the data, PivotCharts show it, and slicers and timelines link everything together. The result is a single view you can filter in a few clicks, with very little maintenance.

    Leave a Reply

    Your email address will not be published. Required fields are marked *