Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set analysis - less than

Hey everyone,

I cannot make the following expression work..

The error is where I have the {">6"}.

count ({$< Etape_formulaire={'Validation'}, [Dossier Complet]={1}, Num(Month([Mois Année Dossier Complet]))={">6"} >} Compteur) 

What's wrong with my expression ?

Thank you for your help

Have a good day

Laura

8 Replies
sasiparupudi1
Master III
Master III

you can not use an expression on the LHS

Num(Month([Mois Année Dossier Complet]))

Not applicable
Author

What is "LHS" ?

sasiparupudi1
Master III
Master III

sorry, its left hand side..

Instead you can create a field in the script

as Num(Month([Mois Année Dossier Complet])) as Mois Année Dossier Complet Month

and in the set analysis


count ({$< Etape_formulaire={'Validation'}, [Dossier Complet]={1}, [Mois Année Dossier Complet Month]))={">6"} >} Compteur) 


hth

Sasi

krishna_2644
Specialist III
Specialist III

try this:

count ({$< Etape_formulaire={'Validation'}, [Dossier Complet]={1},

[Mois Année Dossier Complet] = {$(=Num(Month([Mois Année Dossier Complet]))={">6"} >} )}

Compteur)

ChiragPradhan
Creator II
Creator II

Easier to create another field with Month number as Sasidhar pointed. More effecient and readable.

Regards

Chirag

ramoncova06
Specialist III
Specialist III

do you have an ID field or something like a unique identifier ?

if you do then you should be able to use

count ({$< Etape_formulaire={'Validation'}, [Dossier Complet]={1}, ID={"=Num(Month([Mois Année Dossier Complet]))>6"} >} Compteur)

sasiparupudi1
Master III
Master III

Hi

Have you found a solution yet?

Sasi

qlikviewwizard
Master II
Master II

Hi Laura,

Are you able to manage to get the solution?