Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
hildacgg
Creator
Creator

How can I get the last sales date for each product in the script?

I need to upload only the last day when the product was sold, please help!

1 Reply
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

You can use the max function.

Load Product,Max(SoldDate) as LastSoldDate

From xyx

Group by Product;

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!