Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
sanjujeeboy
Creator
Creator

Load max date and hour

Hi All,

I have a table like this

CountryDate HourSales
germany11/7/20191100
germany11/7/20192101
germany11/7/20193102
germany11/7/20194103
Italy11/7/20191103
Italy11/7/20192104
Italy11/8/20193105
Spain11/7/20191106
Spain11/7/20192107
Spain11/8/20193108

Requirement is i want to get max date max hour sales for each country. So the output should be:

CountryDate HourSales
germany11/7/20194103
Italy11/8/20193105
Spain11/8/20193108
    

How to write a set expression for this?

Labels (3)
1 Reply
Brett_Bleess
Former Employee
Former Employee

Duplicate post, see https://community.qlik.com/t5/QlikView-App-Development/Load-max-date-and-hour/td-p/1644389 for live thread.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.