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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
amien
Specialist
Specialist

load should fill in the missing values not as null but as 0

double post

22 Replies
amien
Specialist
Specialist
Author

i added this:

drop table basic;

LOAD sum(value), date, filenumber
RESIDENT Calculation
GROUP BY date,filenumber;

drop table calculation;

Not applicable

Yep. I used Sum(value) in the pivot table sample I made, so the second field isn't there. This does the same, but while the data is loaded 🙂

Question: why did you add the GROUP BY clause? Just curious.

amien
Specialist
Specialist
Author

because i'v a additional INLINE table joined. this contains additional filenumber information like maincapital.

when i JOIN this on 2x 200901,1 (date,filenumber) .. then i have 2x maincapital .. when summing that in a pivot .. i have double the maincapital that i need.

Thanks again for your time