Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
How to use multiple filters in single expression?
I need following expression
Sum(Qty)
Exclude
Year = 2017 and
PType = Sal
My below expression is not working
Sum({<Ptype={"Sal"}>,<[Year]={"2017"}>} Qty)
Please suggest
Thanks,
Vikas
You are not suppose to do with 2 angular bracket like, Though try this?
Sum({<Ptype-={"Sal"},[TransactionDate.autoCalendar.Year]-={2017}>} Qty)
OR, If you want to do using OR operator do this
Sum({<Ptype-={"Sal"}>+<[TransactionDate.autoCalendar.Year]-={2017}>} Qty)
Exclude should be -=
Sum({<Ptype-={"Sal"}>,<[Year]-={2017}>} Qty)
Not Working
Sum({<Ptype-={"Sal"}>,<[TransactionDate.autoCalendar.Year]-={2017}>} Qty)
My expression
You are not suppose to do with 2 angular bracket like, Though try this?
Sum({<Ptype-={"Sal"},[TransactionDate.autoCalendar.Year]-={2017}>} Qty)
OR, If you want to do using OR operator do this
Sum({<Ptype-={"Sal"}>+<[TransactionDate.autoCalendar.Year]-={2017}>} Qty)
Thanks this worked
Great, Please close this thread
Bonjour,
SI <+> correspond à OR, à quoi correspond le ET ?
Cordialement
Bonjour,
<+> correspond à une union (OR), alors que <*> correspond à une intersection (ET).
Cordialement,
Théo ATRAGIE.