Last week, we have learned what Pivot Table Report Filters are & how to use them.
Today, I am going to show, how you can use simple macro code to change the report filter value dynamically.
We will learn how to create the below chart:

How to update Pivot Table Report Filters & Create such a dynamic chart?
To help you understand this technique, I have created a short video. Please watch it below:
Download Example Workbook & Play with it
Go ahead and download the file. It has a demo of this technique + other ideas on Pivot Table Report Filters.
Learn More About Pivot Tables:
- Guide to Excel Pivot Tables
- Excel Pivot Tables – Introduction & Video
- Dynamic Dashboard using Pivot Tables & Slicers [Excel 2010]
- More articles on Pivot Tables

















2 Responses to “Top 10 Power BI Interview Questions & Answers”
Hello...
In Power BI I have data that includes months by name only (e.g. May, April, December...)
I need to build charts etc. but i need the months to go chronologically... not alphabetically... I cannot seem to find the fix to this.... once again, my data does NOT have an actual date attached to it (like 02/01/2023)....only month names... can i use a helper table wher i id the month names as numbers 1 thru 12? and if so, how do i manage this to work for me ?
Thank you.
~Keith
You need to setup an extra table to map each month name to a running number. A simple 12 row table like
Jan 1
Feb 2
Mar 3
..
Dec 12
Then create a relationship between this month table and your month column
Now, go to "table view" in Power BI and set the sort by column to month number for the month name column on this new table.
Finally, use the new table's month name whenever you need to refer to the month name in the visuals.
They will be chronologically arranged.