Forum Discussion

ahmadwljfksqlid's avatar
ahmadwljfksqlid
Regular Visitor
4 months ago
Solved

Date Range Slicer between Dynamic Dates

I have a dimension Calendar retrieved via my source database. Its max date value is today's date.   I want to make a date range slicer (between) and the ranges must be dynamic. For instance, by def...
  • DanieleUgoCopp's avatar
    4 months ago

    Hello,

    You can solve it by using a separate disconnected date table just for the slicer, then controlling what actually shows in visuals with a DAX measure, so the slicer always contains full range but default selection behaves like last 3 months. Another option could be using a relative date logic in a calculated table that still keeps all dates but adds a flag for default view, then use that only for initial filtering.

     

    Best regards,
    Daniele

  • Kedar_Pande's avatar
    3 months ago

    ahmadwljfksqlid 

     

    Use a relative date slicer. Set it to last 3 months. It updates automatically and users can still change the range.