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: 
Not applicable

How to show last date

Hi,

I have folowwing requirement to get values in pivot table.

I need to show Last Date where Type='Receipt' and Payeetype='DD'.

Could anyone let me know how to write expression in pivot table under expression tab.

Thanks.

1 Solution

Accepted Solutions
suniljain
Master
Master

You can use following logic as expression to get max date with filters.

Max({<Type={"Receipt"},Payeetype={"DD"}>}LastDate)

Regards;

Sunil

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Will this work for u:

Max({<Type={'Receipt'},Payeetype={'DD'}>}LastDate)

Not applicable
Author

=max({<Type={'Reciept'},payeetype={'DD'}>}date)

or

you want to show last day value try this

=sum({<Date={$(Vmaxdate)},Type={'Reciept'},payeetype={'DD'}>}sale)

Vmaxdate=max(Date)

suniljain
Master
Master

You can use following logic as expression to get max date with filters.

Max({<Type={"Receipt"},Payeetype={"DD"}>}LastDate)

Regards;

Sunil

Not applicable
Author

Thanks for your reply. it's working.