Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
bashar_f
Partner - Creator
Partner - Creator

Conditions in Expression

Hi,

I have the following expression : -

sum({$<status={'Closed'}>} Duration/60)

which is basically : Sum(Duration/60) Where Status = "Closed"

What I want is

Sum(Duration/60) where status = "Closed" AND Product_Type=" Software" or "Hardware" or "Training"

How do I do this?

1 Solution

Accepted Solutions
sushil353
Master II
Master II

Try Below:

Sum({<status={'Closed'},Product_Type={'Software','Hardware','Training'}>}Duration)/60

HTH
Sushil

View solution in original post

3 Replies
SergeyMak
Partner Ambassador
Partner Ambassador

Hi,

Try this expression

sum({$<status={'Closed'}, Product_Type={"Software","Hardware","Training">} Duration/60)


Sergey

Regards,
Sergey
sushil353
Master II
Master II

Try Below:

Sum({<status={'Closed'},Product_Type={'Software','Hardware','Training'}>}Duration)/60

HTH
Sushil

ashfaq_haseeb
Champion III
Champion III

Hi,

Try this

Sum({<status={'Closed'},Product_Type={'Software','Hardware','Training'}>}Duration)/60)


Regards

ASHFAQ