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: 
Anonymous
Not applicable

Problem with JOIN or Crosstable

Hi all,

I am experiencing a problem using a join or crosstable. A numeric value is set to -1 automatically where it was about to show another value instead.

Does anyone had the same problem? How can I fix that? I would like to sum all these values instead of '-1' and I am getting the wrong result.

Below is the table

  

MTX TYPEUS$
Handling-1
Tyre-1
Other-1
Handling

-1

Thank you!

Labels (1)
10 Replies
Anonymous
Not applicable
Author

Hi Sunny.

Just tested and it doesn't work.


The solution is below.

if([MTX Date]>=Date(MonthName([TEST Start Date]), 'MM/YYYY') and [MTX Date]<=Date(MonthName([TEST End Date]), 'MM/YYYY'),
if([TEST Type]='STD',

if(Handling='0', Handling, Handling='0')),

[Handling])  as  [Handling],