MinDate with If function

Stimulsoft Reports.NET discussion
Post Reply
jbreeland
Posts: 2
Joined: Tue Sep 03, 2019 5:37 pm

MinDate with If function

Post by jbreeland »

Hello. I'm over my head here, but I'm pretty close to figuring out an expression. I want to retrieve the minimum date giving a certain condition. Here's my attempt.

{MinDate(Data,Details.lastfinishedmilestonedate)If(Data,Details.lastfinishedmilestone.Contains ("Submittal"))}
Lech Kulikowski
Posts: 6243
Joined: Tue Mar 20, 2018 5:34 am

Re: MinDate with If function

Post by Lech Kulikowski »

Hello,

Please try to use the MinDateIf() function:
{MinDateIf(DataBand1, DataSource.DateColumn, DataSource.ConditionColumn.Contains("condition"))}

Thank you.
jbreeland
Posts: 2
Joined: Tue Sep 03, 2019 5:37 pm

Re: MinDate with If function

Post by jbreeland »

That worked, Thank you!
Lech Kulikowski
Posts: 6243
Joined: Tue Mar 20, 2018 5:34 am

Re: MinDate with If function

Post by Lech Kulikowski »

Hello

We are always glad to help you!

Thank you.
Post Reply