Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
I am using the below filters in my report and all the filters are connected to my Date table which has 10years data in it. From Year 2000 till 2030.
When i am opening my report i need all these filters to be selected with current yearm month, week and day values. After entering the report with current values, the user should also be able to change the filter values. How to perform this ?
Solved! Go to Solution.
@Anonymous , There is no option default using some kind of function.
Usally we create a column like this for year and select this year and same
Month Type = Switch( True(),
year([Date]) = year(Today())-1,"Last Year" ,
year([Date])= year(Today()),"This Year" ,
Format([Date],"YYYY")
)
The same is true for the month
which visual are you using for the week days? is that the slicer? you can use the visual filter to set it to the date you want it to be you can set the relative date filter to filter it to the last day
Proud to be a Super User!
@Anonymous - This one comes up so much I should know the answer by heart by now but can't remember exactly. I think it involves creating a column or measure for TODAY() or (TODAY() - [Date] * 1.) so basically a relative number of days and adding the slicer to the page set to 1? Sorry, it's something like that.
@Anonymous , There is no option default using some kind of function.
Usally we create a column like this for year and select this year and same
Month Type = Switch( True(),
year([Date]) = year(Today())-1,"Last Year" ,
year([Date])= year(Today()),"This Year" ,
Format([Date],"YYYY")
)
The same is true for the month
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
83 | |
82 | |
67 | |
49 |
User | Count |
---|---|
135 | |
111 | |
100 | |
65 | |
62 |