Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi -
I have standard date table with date fields from 2010 - 2030.
I want to setup a date slicer with dynamic default date as start date of the year (for ex: 1/1/2023 for this year) when the report is open for first time. Then it should also allow user to select any other date from slicer to run the report (without using any extra buttons or anything as such).
Thanks for any inputs.
Hi @idlebrain
A simple way to do this is to use the "Related dates" slicer
And choose "Current year" as publishing
The users can play with it and change it quite easily if they wish.
The complex way is described here :
https://darren.gosbell.com/2023/05/setting-a-dynamic-default-slicer-value-in-power-bi/
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Thanks for the response but that will not help me.
Little bit more explanation of my requirement.
I have date field with values in mm/dd/yyyy format from 1/1/2010 to 1/1/2030.
I need a date slicer with dynamic default value as "start date of the year" i.e. 1/1/2023 if the report is ran this year. If the report is ran next year, default selection is 1/1/2024. This slicer should also allow any other date to be selected to run the report.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
87 | |
85 | |
68 | |
67 | |
64 |
User | Count |
---|---|
210 | |
118 | |
116 | |
81 | |
74 |