Forum Discussion
ggalstyan
3 years agoFrequent Visitor
multiple ifs with multiple conditions
Hello everyone, I am trying to solve the following issue with multiple ifs and conditions if eventnumber=eventnumber and unit's(starts with BLS or RA) dispatch time is after unit's dispatch time(st...
amitchandak
Super User
3 years agoggalstyan , Based on what I got
new column =
var _cnt = countx(filter(Table,[eventnumber] = earlier([eventnumber]) && ( left([unit],3) = "BLA" || left([unit],2) = "RA") && [Entry Time] > earlier([Entry Time] ) ),[eventnumber])
return
if(isblank(_cnt), "No", "Yes")
Earlier, I should have known Earlier: https://youtu.be/CVW6YwvHHi8
ggalstyan
3 years agoFrequent Visitor
amitchandak @Thanks I Will try this tomorrow and let you know if works: I believe I understand the concept now.