Forum Discussion

Glennchee's avatar
Glennchee
New Member
6 years ago

Time slicing

I am trying to create a time slice feature. To enable data filter via time range. 

2 Replies

  • Glennchee ,The information you have provided is not making the problem clear to me. Can you please explain with an example.

    Appreciate your Kudos.

  • v-yingjl's avatar
    v-yingjl
    Community Support

    Hi Glennchee ,

    You can use the 'Timeline 2.1.1' visual to get the date slicer and create measure like this:

    Start Date = 
    CALCULATE ( MIN ( 'Table'[Date] ), ALLSELECTED ( 'Table'[Date] ) )
    End Date = 
    CALCULATE ( MAX ( 'Table'[Date] ), ALLSELECTED ( 'Table'[Date] ) )

    It depends on your sepcific situaion.

     

     

    Best Regards,
    Yingjie Li

    If this post helps then please consider Accept it as the solution to help the other members find it more quickly.