Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem with Sum

Hello,

I have a problem with a Sum in my board. If I reduce my board has the article or in the month I shall wish to have for it "stock_réel" the last value of my lines which display( ex here : 525)

Capture.JPG

When i reduce i have this

Capture2.JPG

anyone can help me please?

1 Solution

Accepted Solutions
Gysbert_Wassenaar

See attached example.


talk is cheap, supply exceeds demand

View solution in original post

11 Replies
Gysbert_Wassenaar

Try FirstSortedValue(Stock_réel, -Date_Mvt)


talk is cheap, supply exceeds demand
Not applicable
Author

Hello, Thanks to help me but is not working

Capture3.JPG

Gysbert_Wassenaar

Please post a small qlikview document that demonstrates the problem.


talk is cheap, supply exceeds demand
miguelbraga
Partner - Specialist III
Partner - Specialist III

Try as gwassenaar‌ have told but with a little difference:

=FirstSortedValue(Sum(Stock_réel), -Date_Mvt)

Not applicable
Author

A little demo

Not applicable
Author

Same results no working

thanks

Not applicable
Author

Hi,

Do you mean that the sum of the values when collapses is different  than the sum when it expands

Gysbert_Wassenaar

See attached example.


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks so much for the help