Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem Regarding set analysis Expression


Hi All,

The below expression is not working ...i want to list the last-name except whoes last name starts with  "S" along with salary in chart...

{<  LAST_NAME ={"*"}  - {"S*"}  >}

Please help if any correction !!!!!!!!

Sarfaraz

20 Replies
alexandros17
Partner - Champion III
Partner - Champion III

The syntax is correct, obviously you sent only a part of the whole expression, if it doesn't work check data, is there the problem

ychaitanya
Creator III
Creator III

Try this

{<Last_name - = {"S*"}>}

Thanks

Chaitanya

qlikconsultant
Creator III
Creator III

Try this:

{<  LAST_NAME <>{"*S"}>}

alexandros17
Partner - Champion III
Partner - Champion III

A thing you can try is :

replace " with '

Let me know

maxgro
MVP
MVP

add some aggregation function to your expression, it works

example

sum( {<  LAST_NAME ={"*"}  - {"S*"}  >} SALARY)

1.png

Not applicable
Author


I tried .....No not working........

below attached screenshot will help you to understand the problem ....

SarfarazSample234.png

alexandros17
Partner - Champion III
Partner - Champion III

The correct and complete expression is:

Sum( {<  LAST_NAME ={"*"}  - {"S*"}  >} Salary)


Let me know

sakamsureshbabu
Creator
Creator

hi

you use this two exp

Sum( {<  LAST_NAME ={"*"}  - {"S*"}  >} Salary)  and

Sum( {<  LAST_NAME ={'*'}  - {'S*'}  >} Salary)

Not applicable
Author


In my case not working .....i am getting 0 in output as total and apart from this nothing is appear in the chart ....

The same expression i have tried what you wrote above ...i dont know what happening exactly ........

sarfaraz