Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
What is wrong with that formula?
=Count(DISTINCT {<Customer_ID={=Max(OrderDate)-Max(OrderDate,2)>600000}>}Customer_ID)
it tells me that there is an "," or ")" missing, but I don't get it.
I doubled checked the syntax of the expression I posted and it should be fine. The only way I recieved a message of error in expression with no further information is if the field name was incorrect. Is Customer_ID the correct field name? Remember, Qlik is case sensitive, so Customer_Id is different than Customer_ID.
You need to enclose the criteria in double quotes ", like this:
=Count(DISTINCT {<Customer_ID={"=Max(OrderDate)-Max(OrderDate,2)>600000"}>}Customer_ID)
Thanks for your fast reply.
Unfortunately that returns another error (Error in expression)
without further information on the error.
I doubled checked the syntax of the expression I posted and it should be fine. The only way I recieved a message of error in expression with no further information is if the field name was incorrect. Is Customer_ID the correct field name? Remember, Qlik is case sensitive, so Customer_Id is different than Customer_ID.
You are absolutely correct, that was the mistake.
Thanks again for your help 🙂