Forum Discussion

ppl's avatar
ppl
Frequent Visitor
5 years ago
Solved

Time interval selector

Hello.

I am making a ACS report and I need to show people who was late. How I can filter only items which is between 9:00 and 10:00?

 

 

  • ppl , Try a measure like

     

    calculate(countrows(Table), Filter(Table, Table[time] >= time(9,0,0) && Table[time] <= time(10,0,0)))

2 Replies

  • ppl , Try a measure like

     

    calculate(countrows(Table), Filter(Table, Table[time] >= time(9,0,0) && Table[time] <= time(10,0,0)))

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

    Hi,  ppl 

    Create a measure as below:

     

    filter_meaure = IF(HOUR(SELECTEDVALUE('Table'[Time]))=9,1,0)

     

    then apply it to visual filter pane:

    Please check my sample file for more details.

    Best Regards,
    Community Support Team _ Eason
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.