Forum Discussion

jonathangsanto's avatar
4 years ago
Solved

How to create an hour/minute range filter?

Hi all, I have a table with several times GOAL: I need to create a start and end filter by time, filtering this table What I've done so far: I created a table that separates the t...
  • amitchandak's avatar
    4 years ago

    jonathangsanto , Create two independent table with these time slots and the try a measure like

     

    new measure =
    var _max = maxx(allselected(Time2),Time2[Time])
    var _min = minx(allselected(Time1),Time1[Time])
    return
    calculate( Count(Table[Time]), filter('Table', 'Table'[Time] >=_min && 'Table'[Time] <=_max))