Forum Discussion

Srujana's avatar
Srujana
Frequent Visitor
9 years ago

Date Slicer - Reset

I am trying to default my report's date slicer to current date.

 

created a table 

select case when Date = DATEADD(dd, DATEDIFF(dd, 0, getdate()), 0) then 'Today' else 'All' end as Flag,Date as Date from Date

 

Use Date column as Slicer 1 : Date(1/1/2017 ---- 8/14/2017)

Used this Flag column as Slicer2 and filtered Slicer 1(8/14/2017-8/14/2017) when Today is selected.

 

Problem is when user deslects today and then uses Slicer1 as required and then clicks on Slicer 2 (Today). Slicer 1 does not reset today's date.


Any ideas?

3 Replies

  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    Community Support

    Hi Srujana,

     

    The issue has been reported before internally: CRI 23743458

     

    this is by design, we store previous selections and show them regardless of whether another filter may hide them. We do not want to clear selections based on filter from other slicers, and we are obligated to show any selected items.

     

    Best Regards,

    Qiuyun Yu