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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Pawan
Frequent Visitor

Dynamic current month selection in filter

Hi,

 

I have used below checkbox filter with default month selection in number of reports but every month again changing the month selection manually. Is there any way to apply dymanic current month selection in below checkbox filter.

 

Please note business want only this type of filter with dynamic current month selection.

Pawan_0-1678172713070.png

 

Thnaks in advance

 

3 REPLIES 3
danextian
Super User
Super User

Hi @Pawan ,

 

I don't think what you're trying to achieve is currently possible. You can create a calculated column that determines whether a month is the current month - say return "current month" otherwise the month name - but that will be another set of slicer items that will not be as shown in your screenshot.  
You may raise this as a future feature though -  https://ideas.powerbi.com/ 










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
miTutorials
Super User
Super User

Please see the below tutorial, hope this helps. You will have to tweak the code a bit to show the current month.

 

Default dynamic Date Slicer and also custom select Dates in PowerBI | MiTutorials 

@miTutorials Thanks for your reply. But my scenario is different business want only checkbox with all the years but current month need to apply as default

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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