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

problem with set analysis expression from file

I prepared my expression in an excel file, and I tested them,





after I load the expresion, always there is a problem synthaxe I think even if I tested the expression


19 Replies
YoussefBelloum
Champion
Champion

Hi,

Make a screen shot of your excel file (the expression part)

souadouert
Specialist
Specialist
Author

hello youssef,

cap1.PNGcap2.PNG

YoussefBelloum
Champion
Champion

did you try this ?

=$(=Only({<desc_expression={'conquete2'}>} EXPRESSION))

souadouert
Specialist
Specialist
Author

i have to use the variable conquete2 and not expression beacause qlikview interpret expression as string

souadouert
Specialist
Specialist
Author

cap1.PNG

marcus_sommer

Your variable-name and the if-check contained a special char - e with upper "hat" - maybe there is a general problem with it or something related to collation: Search - But what shall you find?.

- Marcus

Peter_Cammaert
Partner - Champion III
Partner - Champion III

In the situation of your original screenshots, what was the content of variable Conquête2?

Remember that $-sign substitution is performed before the object is recaclulated, Therefor, ysing $-sign substitution you cannot influence the actual expression on a row-by-row basis. 

souadouert
Specialist
Specialist
Author

Conquête2=

COUNT({<  CLIENT_ENTREE={"CONQUETE"},CLIENT_PRE_SOUS_SEGMENT_A,CLIENT_PRE_SEGMENT_A,CLIENT_PRE_SEGMENT_A={"TRE"}>}CLE)

Peter_Cammaert
Partner - Champion III
Partner - Champion III

And if you put

=$(Conquête2)

in a text box, then does it display a hyphen, and error message or a value?