Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI Experts,
How do I use an and / or in an set analysis expression in qlik sense.
Thanks
Erenst
Hi,
Refer below example,
1) =Count({$<Type={'Accepted Lead'}>+<Type={'Instructed Lead'},ProductId-={'5'}>}TicketId)
above set expression will counting where TicketId is Type 'Accepted Lead' OR 'Instructed Lead':
3) Count(if(Completion_Date <= Due_Date and (Source = 'Assignments' or (Source = 'Tasks' and TASK_TYPE = 'Product')),Task_ID_New))
if we convert above expression into Set analysis it will be look like below,
count({<Source={'Assignments'},ID={"=Completion_Date<=Due_Date"}>+<Source={'Tasks'},TASK_TYPE={'Product'},ID={"=Completion_Date<=Due_Date"}>} Task_ID_New)
also check this beginners material
Hope this helps to you
Regards,
Deva
Hi,
Refer below example,
1) =Count({$<Type={'Accepted Lead'}>+<Type={'Instructed Lead'},ProductId-={'5'}>}TicketId)
above set expression will counting where TicketId is Type 'Accepted Lead' OR 'Instructed Lead':
3) Count(if(Completion_Date <= Due_Date and (Source = 'Assignments' or (Source = 'Tasks' and TASK_TYPE = 'Product')),Task_ID_New))
if we convert above expression into Set analysis it will be look like below,
count({<Source={'Assignments'},ID={"=Completion_Date<=Due_Date"}>+<Source={'Tasks'},TASK_TYPE={'Product'},ID={"=Completion_Date<=Due_Date"}>} Task_ID_New)
also check this beginners material
Hope this helps to you
Regards,
Deva
Thanks for the quick response, just a question, what is the "ID" field you use.
count({<Source={'Assignments'}, ID= {"=Completion_Date<=Due_Date"}>+<Source={'Tasks'},TASK_TYPE={'Product'},ID={"=Completion_Date<=Due_Date"}>} Task_ID_New)
Thanks
Erenst
Hi,
It's RowNo() AS ID field from back-end script. Thanks
Thanks you
Hi,
If it's all ok then can you close this thread by marking correct answer or mark it assumed answer. Thanks
Regards, Deva