Forum Discussion

spandy34's avatar
spandy34
Responsive Resident
3 years ago
Solved

Count filtered time fields

I was wondering if you could help me please.  I want to create a measure called z_15min Commission the counts all the SSRef fields where there is   00:15:00 in the Planned Duration field.  Planned Du...
  • Ahmedx's avatar
    Ahmedx
    3 years ago

     

    z_15min Commission = CALCULATE(
       COUNTA('Procurement_Main_Data'[SSRef]), 
         'Procurement_Main_Data'[Planned Duration]>= TIMEVALUE("00:00:00")​&&
        'Procurement_Main_Data'[Planned Duration]<= TIMEVALUE("00:17:00")
    )

     

     

  • Ahmedx's avatar
    Ahmedx
    3 years ago

    no need to copy measure and paste. must be written by hand