Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
JACKNIEKERK
Creator
Creator

sum each row for all items by type


in graphic I have now Expression:
sum(Pick(match(FakUnitType,'K','S'), FakKilos * FakPrijs, FakStuks * FakPrijs))

is total off all rows, thats ok, but need per row subtotals based PLU field (Price Lookup Unit) = itemnuber)

This total sum on line Orange Jus etc.

wich script /epression i need for that, please see sample screenshot

would like too see 1 line Orange jus , total  54.45 

1 Solution

Accepted Solutions
Anil_Babu_Samineni

You can change that object to pivot table and enable partial sum for PLU?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

4 Replies
Anil_Babu_Samineni

You can change that object to pivot table and enable partial sum for PLU?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
QFabian
Specialist III
Specialist III

Hi @JACKNIEKERK , try adding some code to your expression :

sum ( <TOTAL TotallizerField >   rest of your expression)

QFabian
JACKNIEKERK
Creator
Creator
Author

hello,  can't get it right in syntax, will see suggestions,(see screenshot)  please advise with sample

wat syntax should be,  thanks 

JACKNIEKERK
Creator
Creator
Author

i recreated as pivot table as advised , now  ok, thanks