Forum Discussion

chillpill's avatar
chillpill
Icon for Helper III rankHelper III
4 months ago
Solved

Previous month selected automatically from drop-down slicer

Is there a way to have a drop-down slicer select a previous date by default, but ALSO still have the other options available to choose from? Like the image example below, I would like 'Mar-26' to be ...
  • anilelmastasi's avatar
    anilelmastasi
    4 months ago

    However I was hoping the slicer display would still show the 'Mar-26' date in the slicer instead of 'previous Month.'  Unfortunately, this is not possible. The key of this workaround is being alphabetically different and always be on top of the slicer. Maybe you can add 

    var _monthName = FORMAT(_previosMonthEnd, "MMMM")

    and

    "Previous Month (" & _monthName & ")".

     

     

    If this solved your issue, please mark it as the accepted solution. āœ