Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
sushil353
Master II
Master II

how to show results in a straight table conditionally??

Hi All,

In my dashboard i have a straight table in which simple calculation is done. There are fields in dashboard Like "Failures"......

I want to show data in that straight table when user selects value from Failures.. otherwise it should show ' 0'.

Please find the attached application...  and help me out to solve this requirement..

Thanks

Sushil

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi Sushil,

Use this expression

Failure Count = =If(GetSelectedCount(bsn_details_fdat.TT_TYPE) > 0, Count(bsn_details_fdat.TT_TYPE) , 0)

Hope this helps you.

Regards,

Jagan.

View solution in original post

2 Replies
richard_chilvers
Specialist
Specialist

Hi Sushil

Can you explain your requirement a little more ?

You have table called Failure which lists items (which may fail, I guess).

You have another table which counts the Failures. If I select a Failed item, I seem to get the correct count - do you not agree ? Can you suggest an item which has had no failures, but which shows a value for the count ?

You may also want to review your table links - QlikView has automatically created synthetic keys, but it is usually advised that your data is managed in a way to avoid this. There is some useful information in the documentation on this.

Hope this helps.

jagan
Luminary Alumni
Luminary Alumni

Hi Sushil,

Use this expression

Failure Count = =If(GetSelectedCount(bsn_details_fdat.TT_TYPE) > 0, Count(bsn_details_fdat.TT_TYPE) , 0)

Hope this helps you.

Regards,

Jagan.