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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

List box selection special case

Hello,

There is a listbox with 'Breakage Reasons'.

When a 'Breakage reason' is selected, I would like to see the data filtered with the selected 'Breakage'

and also the data without breakage, that is breakage reason is empty or '-'.

Please suggest how can i acheive it.

PFA the sample qvw file

Thanks,

Deepa V

Labels (1)
1 Solution

Accepted Solutions
anbu1984
Master III
Master III

11 Replies
Anonymous
Not applicable
Author

Hi

:

It may be for two reasons.

the first, the fields have no information.

second, they have more than one value '-'

I saw your dashboard and say that is the first reason.

regards

Not applicable
Author

Erik Mendieta wrote:

Hi

:

It may be for two reasons.

the first, the fields have no information.

second, they have more than one value '-'

I saw your dashboard and say that is the first reason.

regards

Hello Erik,

Thanks for the reply.

I will not get the breakage code '-' in Breakage reasons.

So I loaded by concatinating '-' in Breakage Reasons list box.

But, I have the below challenges:

1 .when I select '-' in list box, data is not filtering.

2. I need to see the data with breakage reason '-' + selected 'breakage reason' in result.

Pls find attahced the revised qvw.

Please help me.

ecolomer
Master II
Master II

In my opinion you have a problem in the script and the data are non good relationship

See the tables

p10.png

rido1421
Creator III
Creator III

Hi Deepa

what if you Joined the "LMTB_BREAKAGE_REASON_EOLT " Table to the "LMTB_Product_EOLT"

using entity Code ? instead of Joining on the "BREAKAGE REASON"

anbu1984
Master III
Master III

Check this

Not applicable
Author


Hello Enrique Colomer,

Thanks for the reply,

I am loading data from the attached excel.

Please suggest, is there any issue with datamodel or while loading other tables .

Thanks,

Deepa V

Not applicable
Author

Hello Anbu cheliyan,

Yes, in the document, when ever any breakage code is selected in the table I am seeing  '-' as selected.

But now I am seeing 2 values with '-', on clear selection.

2014-09-18_114445.png

whenever I select any breakage code EX: 'HC_FALL'

I am seeing as below:

2014-09-18_114620.png

count should be 1000 for breakageCode '-'

Please help me.

Thanks,

Deepa V

anbu1984
Master III
Master III

Check this

Not applicable
Author


Hi Anbu Chelian,

Thanks a lot for this, It is ok now.

I am trying to get something like below:

BREAKAGE_REASONothercntIf(nullcount<>0,nullcount,othercnt)Percentage
  Rejected
1009
HC_FALL100922/10090.19 %
SG_BK100911/10090.10%
SG_ENG100911/10090.10%
SG_PR100933/10090.29%
SG_PWR100911/10090.10%
SG_WXS100911/10090.10%
-100999/10090.89%

Kindly help me with this

Thanks,

Deepa V