Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Dear Team,
Is there a way to set default slicer selection as Current Month and Year dynamically.
For example, if the current month is march 2022, then slicer should have default selection as 'March' for Calendar Month Slicer and '2022' as Calendar Year Slicer. And in April month, slicer should auto change to 'April' in the month slicer. User should also be able to select rest of the months and past years.
currently we are able to achieve this default functionality by following the below article, but with hardcoded text like "Default" instead of exact month.
https://gorilla.bi/power-bi/set-default-slicer-value/
But we need exact month<March> and year<2022> as default setting when user logs in.
Kindly suggest a solution for this scenario.
Thanks,
Pallavi_R
Solved! Go to Solution.
Hi @Anonymous ,
Currently, please take the solution in the blog you mentioned as a workaround since this feature is still under preview. You could vote for similar idea in Power BI Ideas or add your comments there with more details about your needs. Thanks in advance!
Link of similar idea:
https://ideas.powerbi.com/ideas/idea/?ideaid=39ba67cf-724e-4b6c-9906-51163749f759
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let me know. Thanks a lot!
Best Regards,
Community Support Team _ Caiyun
Its 2024 and things have shuffled a bit .You can use the method shown in this video to achive this easily .
Hi all,
The video above is very good, but hoping someone might know of a way to achieve this natively, without the use of custom visuals?
Basically I have a slicer with the months "Jan, Feb, Mar" etc. When the current month rolls over (eg becomes April), I want the slicer to automatically select "Apr" and filter the data accordingly. Currently I have the slicer sorted by the current month, so the current month always appears first in the list, but the slicer always retains the last selected month.
Kind regards,
Ben.
Hi @Anonymous ,
Currently, please take the solution in the blog you mentioned as a workaround since this feature is still under preview. You could vote for similar idea in Power BI Ideas or add your comments there with more details about your needs. Thanks in advance!
Link of similar idea:
https://ideas.powerbi.com/ideas/idea/?ideaid=39ba67cf-724e-4b6c-9906-51163749f759
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let me know. Thanks a lot!
Best Regards,
Community Support Team _ Caiyun
@Anonymous , As of now, You have to use hard-coded functionality like This month, This Year. You can log an idea
https://ideas.powerbi.com/ideas/
Year Type = Switch( True(),
year([Date])= year(Today()),"This Year" ,
year([Date])= year(Today())-1,"Last Year" ,
Format([Date],"YYYY")
)
Month Type = Switch( True(),
eomonth([Date],0)= today(),"This Month" ,
eomonth([Date],0) = eomonth(Today(),-1),"This Month" ,
Format([Date],"MMM-YYYY")
)
Default Date Today/ This Month / This Year: https://www.youtube.com/watch?v=hfn05preQYA
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
10 | |
10 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |