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

Is it possible to remove one value in listbox?

Hi~~i want to know that is it possible to remove "implemented" in the listbox of "Purpose".

Capture.PNG.png

Do i need to change in script? But in the script, it just show like this:

Capture.PNG.png

So, what should i do?

28 Replies
arsal_90
Creator III
Creator III

=AGGR(ONLY({<Purpose-={'Implementation'}>} Purpose ), Purpose )

OR

=Aggr(Only( {< Purpose = p( Purpose ) >} Purpose ), Purpose )

Not applicable
Author

use Where Condition

Table:

Loald *

From yourSource

Where Purpose <>'Implementation';

Not applicable
Author


Just change your list box to use an expression, add the following as your expression  =if(Purpose <> 'Implementation', Purpose)

manideep78
Partner - Specialist
Partner - Specialist

Use where Clause in the script :


WHERE Purpose <> 'Implementation' 


             OR


Use Expression in List Box:

=if(Purpose<>'Implementation',Purpose)

its_anandrjs
Champion III
Champion III

Yes in list box in expression type like this

In Front use like

1.

If(Purpose='Recovery','Recovery',

If(Purpose='User Request','User Request'))

Or you can write in list box expression

2.

If(Purpose <>'Implementation',Purpose)

3.In the load script like

Load

Fields

..

..

From Location

Where Purpose <>'Implementation';

Regards

arsal_90
Creator III
Creator III

Go to list Box and then in general tab in drop down go to expression and then in expression you have to write this

=AGGR(ONLY({<Purpose-={'Implementation'}>} Purpose ), Purpose )

OR

=Aggr(Only( {< Purpose = p( Purpose ) >} Purpose ), Purpose )

Not applicable
Author

Thank u for ur help! But it's not correct.May be i did not make it clearly, i just want to look at "Recovery" and "User request" in the chart exclude "Implemented"

Capture.PNG.png

Not applicable
Author

Thanks! But it doesn't work. May be i did not make it clearly, i just want to look at "Recovery" and "User request" in the chart exclude "Implemented"

Capture.PNG.png

manideep78
Partner - Specialist
Partner - Specialist

Take Month as Dimesion and take two expressions:

Count({<Purpose={'Recovery'}>}Purpose)

Count({<Purpose={'User Request'}>}Purpose)