Forum Discussion
android1
Post Patron
10 years agoIF OR when using COUNTROWS
Hi, I'm need to modify the measure On Time = COUNTROWS(FILTER(OTIF,[ShiftInTime]=[TimeFrom]*[targetperc OT])) to also COUNTROWS if [ShiftInTime]<> [TimeFrom] Thinking IF OR but don't know ho...
chrisu
Responsive Resident
10 years agoWould it work to add an OR (||) within the filter? It should count the rows where either of your tests are true.
On Time = COUNTROWS(FILTER(OTIF, [ShiftInTime]=[TimeFrom]*[targetperc OT] || [ShiftInTime]<> [TimeFrom]))