Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi all,
I have a requirement where i have a date slicer as below . These are the min and max values in the dataset. Now my requirement is, when i open the report, the report has to show current year (i.e. 01/01/2024 to 31/01/2024) instead of the below values. How can I do that? when I change the relative dates in filter, the user is not allowed to select other years except 2024 . i want user to select other years as well. So can someone suggest how I can do that?
Hi @jostnachs ,hello @lbendlin
Thank you for your prompt reply!
According to your description, you want to “set the default date slicer to current year” and can also filter against all other dates.
Per my test, currently the default slicer cannot do this.
Therefore, we suggest you use the Preselected Slicer from app source as a workaround.
Here are steps you can refer to:
Lastly, we drag the slicer fields, default selected measure and status column as shown below:
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best regards,
Joyce
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you so much for the idea.... But using this particular additional visual is hindering the performance of the report. I tried it. The visual takes a lot of time to load and also its not possible to show it as in between slicer which is what the customer requested for......
Hi @jostnachs,
Thank you for your feedback, we recommend send your feature request by submitting your ideas in the following link:
https://ideas.fabric.microsoft.com/
Best regards,
Joyce
Here is the general approach for that pattern:
- create a string representation of your date column, replace the latest date with a string "Latest"
- sort that new column by the original date column
- add a slicer or visual/page/report level filter
- set the filter to "Latest"
- publish the pbix to the workspace/app
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
15 | |
11 | |
11 | |
10 |