Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
chriscools
Creator II
Creator II

Alternate state in formula doesn't work

Hello,

I have a formula in which i want to incorporate alternate states.

if i use it like this it works:

but like this it doesn't work:

count ( {State2} {<OrderStatus={"On hold", "Placed" ,"Cancelled" , "Closed"}>} DISTINCT OrderNumber)

Any idea on how i need to fit it in to make it work?

thanx!!

Chris

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try like this

count ( {State2<OrderStatus={"On hold", "Placed" ,"Cancelled" , "Closed"}>} DISTINCT OrderNumber)

View solution in original post

4 Replies
swuehl
MVP
MVP

Try like this

count ( {State2<OrderStatus={"On hold", "Placed" ,"Cancelled" , "Closed"}>} DISTINCT OrderNumber)

vardhancse
Specialist III
Specialist III

count ( {State2} DISTINCT OrderNumber)

Not applicable

Hi Chirs,

You can use this code:

count ( {State2 < OrderStatus = {"On hold", "Placed" ,"Cancelled" , "Closed"} > } DISTINCT OrderNumber )



Ramya.




chriscools
Creator II
Creator II
Author

Thank you, this works fine!!!

grtz,

chris