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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.