Filtering the data of the latest date

Stimulsoft Reports.JS discussion
Post Reply
horusshih
Posts: 14
Joined: Fri May 12, 2017 9:26 am

Filtering the data of the latest date

Post by horusshih »

Hi

I want to filter the data of the latest date in a databand.

I've tried to use MaxDate function, but I don't know how to set the filter in a right way.

Are there any good advise to solve this problem?
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Filtering the data of the latest date

Post by HighAley »

Hello.

We can suggest you two solutions:

1. You could use Totals functions with CacheTotals enabled.
2. Use a variable.

Please, look at attached reports.

Thank you.
Attachments
Filter_MaxDate2.mrt
(781.36 KiB) Downloaded 325 times
Filter_MaxDate.mrt
(781.8 KiB) Downloaded 421 times
horusshih
Posts: 14
Joined: Fri May 12, 2017 9:26 am

Re: Filtering the data of the latest date

Post by horusshih »

Hi HighAley

Using Totals functions works in my report.

Thanks for your suggestion.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Filtering the data of the latest date

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you need our help.

Thank you.
Post Reply