Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello everyone,
How can I write the statement below to produce one Flag instead of two like I did?
if(Match([Issue Priority],'Major')and Match([Issue Status],'On Track'),'MajFlagTrc' ,
if(Match([Issue Priority],'Major')and Match([Issue Status],'Pipeline') and DaysFlag='30 Days','MajFlagPipe'
I am talking about the 'MajFlagTrc' and 'MajFlagPipe'
Thanks
Something like this
if(Match([Issue Priority],'Major'),
if(Match([Issue Status],'On Track') or (Match([Issue Status],'Pipeline') and DaysFlag='30 Days'),'MajFlag',
I have tried it but it's not working as expected.
Something like this
if(Match([Issue Priority],'Major'),
if(Match([Issue Status],'On Track') or (Match([Issue Status],'Pipeline') and DaysFlag='30 Days'),'MajFlag',
I have tried it but it's not working as expected.
if(Match([Issue Priority],'Major')and Match([Issue Status],'On Track'),'MajFlagTrc' ,
if(Match([Issue Priority],'Major')and Match([Issue Status],'Pipeline') and DaysFlag='30 Days','MajFlagPipe'
)) as Flag
You just need to close out the if() statements and add an "as" to assign to a field.
It turned out this expression is correct
if(Match([Issue Priority],'Major'),
if(Match([Issue Status],'On Track') or (Match([Issue Status],'Pipeline') and DaysFlag='30 Days'),'MajFlag'
Actually my statement is incorrect, I am talking about this one
if(Match([Issue Priority],'Major'),
if(Match([Issue Status],'On Track') or (Match([Issue Status],'Pipeline') and DaysFlag='30 Days'),'MajorFlag'
The problem is the or operator.