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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
jim_chan
Specialist
Specialist

My Pivot Table is displaying incorrect value based on my set analysis

Hi guys,

I have created a sample qvw file with inline data as well. Basically I have 2 files. and need 2 expression.

1st expresssion is ok = to show how many time this record ID has visited the outlet. - data is from table transaction

2nd expression in the pivot is not correct = to show the the record ID CONFIRM purchase at which outlet. - data is from table confirmation, table 2.

my expectation result is , it should so 0 value on the blank outlet_visited row. because based on the confirmation data table 2, shows that record ID 12345, confirm purchased at ABC.

Please help guys....!

screenshot2.jpg

10 Replies
olivierrobin
Specialist III
Specialist III

hello

your qvw doesn't contain anything ........

kfoudhaily
Partner - Creator III
Partner - Creator III

Hello, the sample you provided is empty;

QlikView Qlik Sense consultant
jim_chan
Specialist
Specialist
Author

my apology, this is the sample file. not empty anymore.

sorry

olivierrobin
Specialist III
Specialist III

hello,

why don't you link your 2 tables on the key record_id + outlet_purchased ?

tresesco
MVP
MVP

Your outlet has value non-null  invisible character that is causing the issue. If you want to exclude that, try expression like:

=count( {$< outlet_purchased={"=Len(Trim(outlet_purchased))>0"},confirm_status = {'CONFIRM'}>}timestamp1)

jim_chan
Specialist
Specialist
Author

can you show it in my sample.qvw?

jim_chan
Specialist
Specialist
Author

ok. let me try it out bro

jim_chan
Specialist
Specialist
Author

this works ! thanks bro!!!!!

jim_chan
Specialist
Specialist
Author

bro, i will try your suggestions tomorrow. i got info from my customer, for the real scenario, the fields can be link, i mean can create a link key.