Skip to main content

How to create a Simple Dynamic Dashboard with Charts and Slicers

Download the example Dynamic Chart from below link.



Below are the steps to create a dynamic dashboard


1. Structured Data

Create a table from the data you have. Select the data and press Ctrl + T  or Click on Table in Inset tab under Tables group as shown below.


2. Create Pivots
Select the table and create a pivot by pressing Alt + N+V or Click on Pivot table in Insert tab under Tables group as shown below. Select New worksheet in the dialogue box and click ok.


3. Modify Pivot Table

Once Pivot table is created name the pivot table in Analyse tab Pivot table Name in PivotTable section for reference. Pivot tables fields may appear automatically or if not appearing then click on field list in Analyse tab under Show. 
Select Customer ID and Years in Rows section and Purchase Amount in Values section as shown below.


Same way create other Pivots as created in the example file attached.


4. Create Charts

Select the pivot table then go to Insert tab >> Charts>> Select the type of chart as shown below



Create a Combo chart as shown below 

First create a normal Bar chart then keep the chart selected by clicking on it, Pivot Chart Tools will appear as seen below. Click on Design Tab >> Change Chart type>>Combo.
A Dailogue box will appear as shown below. You can select the chart type for the series and the Axis.


5. Changing Colour of Bar charts

Select the Bar in the chart. In PivotChart Tools section select Format tab >>Shape Style


There are other tools to format your chart as shown below. Right click on the chart and select format Chart area on the right hand side a New pane appears. For further formatting you can explore it.



6. Slicers

Slicers are used to filter the data. To Add a slicer select the pivot and from Pivot table Fields Select a item of which you need to create a Slicer as shown below.


Same way create other slicers as needed and connect them to all the charts.
Right Click on the Slicer and select Report Connections as shown below


A Dialogue box will appear Report Connections. Select the Charts you want to connect the slicer.
In the current case i have selected all charts.


7. Navigation

Final Dashboard is ready


As Shown below Oct is Selected in Date slicer, all charts gets filtered with Oct data. To remove filter click on clear filter tab as shown below or click on the Oct tab with Ctrl tab pressed.



Comments

Popular posts from this blog

Create Sum that gives summary of all Worksheets in Excel

  You have a workbook with 12 worksheets, 1 for each month. All of the worksheets have the same number of rows and columns. You want a summary worksheet in order to total January through December. To create it, use the formula  =SUM(January:December!B4) . Copy the formula to all cells and you will have a summary of the other 12 worksheets. Caution I make sure to never put spaces in my worksheet names. If you do use spaces, the formula would have to include apostrophes, like this:  =SUM('Jan 2018:Mar 2018'!B4) .

DAX Language - Data Analysis Expression

The DAX language was created specifically for the handling of data models, through the use of formulas and expressions. DAX is used in several Microsoft Products such as Microsoft Power BI, Microsoft Analysis Services and Microsoft Power Pivot for Excel. Below are the types of Dax functions  1. Aggregate  2. Date and time 3. Filter 4. Financial  5. Information  6. Logical 7. Maty and trig 8. Other 9. Parent and child 10. Relationship Management  11. Statistical  12. Table manipulation  13. Text 14. Time intelligence  From the above list of functions 3 types of functions are basic and commonly used, those are Aggregate , Logical and Date and time. Other important entities which are used with the above function are as follows  1. Operators  Example -  ( ), + , Not, &, =, < >, || 2. Statements  Define , Evaluate,  Order by, Return, Var 3. Data Types Binary, boolean,  Currency,  date time, decimal, integer,...

CAGR Dax Measure

CAGR stands for  C ompound  A nnual  G rowth  R ate.  It describes the rate at which an investment would have grown over several years if it had grown at the same rate every year on a compounding, rather than simple, basis.   The CAGR metric is calculated using the following formula: If we were to fit this entire formula into a single measure it may get messy and confusing for other users, so let’s step it out. We will need to create several measures to calculate the individual pieces the CAGR formula.  Of course, this is not the only way to calculate CAGR in Power Pivot, but this is the way we’ve decided to go about it.  So, let’s break it down, we will need the following measures to calculate CAGR: A measure to retrieve the First Year in the data set A measure to retrieve the Last Year in the data set A measure to calculate the Number of Years between the First and Last Years in the data set A measure to aggregate the total sales in the data set...