Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
mikegauntlett
Contributor III
Contributor III

Count with multiple conditions

Hi

On a previous occasion I was given the below format

count({<OF_POM_Number= {"[Today_Exp_Del_Date_Opp]='<28' AND [OF_Install_Work_Order_Id_Key] = ''"}>}[OF_POM_Number])

To count the number of [OF_POM_Number] where the [Today_Exp_Del_Date_Opp] field equals less than 28 and the [OF_Install_Work_Order_Id_Key] is blank.


Everything looks okay when I enter the expression however it does not generate the count, it always equals 0 when I know in my dataset there should be hits.


Any Advice is greatly received.


Labels (1)
3 Replies
jaumecf23
Creator III
Creator III

Try this:

count({<[Today_Exp_Del_Date_Opp]= {"<28"}, [OF_Install_Work_Order_Id_Key] = {''"}>}[OF_POM_Number])

mikegauntlett
Contributor III
Contributor III
Author

I'm Afraid not both instances either > or < = 0

jheasley
Luminary Alumni
Luminary Alumni

give this a shot:

Count({$<Today_Exp_Del_Date_Opp={">$(=28)"},OF_Install_Work_Order_Id_Key={''}>}OF_POM_Number)