Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Seanan
Solution Supplier
Solution Supplier

Include this month in a relative data search

Hi guys, I currently have a bar chart, filter and some buttons, one for this month, 3 months, 6 months and 12 months.

PBIDesktop_uO1puqh1aj.png

 

 

When I tap on the "Next 3 Months" button I want it to not only display Nov, Dec and Jan (At the current time of posting this), but I would also like it to include This Month so that I can compare the data without having to switch back and forth from This Month to 3 Months or 6 Months, etc.

PBIDesktop_h5160EEut5.pngI currently use the relative date filter type in order to filter the data and then use bookmarks on the buttons action in order to switch between each view. Using include today doesn't work also because it doesn't give me the full month of data and I also tried adding two Month/Year filters but they don't act indepenantly.

 

If there is no way to include the current month with the next 3 months of data could you please let me know thanks.

2 REPLIES 2
TheoC
Super User
Super User

Hi @Seanan 

 

I am not familiar with an alternative way of achieving what you're after other than establishing the Relative Period yourself using DAX.  A pretty good topic / solution at the following link that may help achieve what you're after:

 

https://community.powerbi.com/t5/Desktop/Required-custom-date-Slicer-Last-7-days-last-15-days-last-3...

 

Hope it helps. If not, best of luck with it all!


Theo

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

Seanan
Solution Supplier
Solution Supplier

Thanks for getting back to me so swiftly, I'll check out the link you sent and see how I get on.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors