Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
anitamanders
New Contributor

need help with the formula "sum"

I am completly new in Qlikview and have no expierence att all with writing scripts.....

I have made some Qlikview tables, but run against a problem with a table for our stock.

We have stock of different  articlecodes, these articlecodes have different lotnumbers.

I want a table with the total stock of an articlecode

I searched in the differtent help files and think I have to use the formula sum stock (=aantal), group by articlecode (=cdprodukt),

but when I use this in my scipt, I get a scripterror.

See enclosed the test file.

Hope someone can help me with this!

Thanks

1 Solution

Accepted Solutions
MVP
MVP

Re: need help with the formula "sum"

Either create a table chart with dimension cdprodukt and expression

=sum(aantal)

or do a resident grouped by load like

LOAD

sum(aantal) as SumByArticle,

cdprodukt

resident lb-182 group by cdprodukt;

Regards,

Stefan

1 Reply
MVP
MVP

Re: need help with the formula "sum"

Either create a table chart with dimension cdprodukt and expression

=sum(aantal)

or do a resident grouped by load like

LOAD

sum(aantal) as SumByArticle,

cdprodukt

resident lb-182 group by cdprodukt;

Regards,

Stefan

Community Browser