Forum Discussion
sshiny
Helper II
4 years agoDate slicer
Hi, I currently have a date slicer filtered to the last 3 months date range using relative date. Is there a way where by default the report will load the data between the 3 months range and will ...
amitchandak
Super User
4 years agosshiny . no.
You can create a column like this in your table and save on that
Month Type = Switch( True(),
eomonth([Date],0) = eomonth(Today(),-1*month(Today())),"Last year Last Month" ,
eomonth([Date],0) <= eomonth(Today(),-1) && eomonth([Date],0) >= eomonth(Today(),-3),"Last 3 month Month" ,
eomonth([Date],0)= eomonth(Today(),0),"This Month" ,
Format([Date],"MMM-YYYY")
)
or refer
Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI