Hi @Sahil Monga ,
If you want to get the maximum value of the date, you can use only the Max or Min Function, combined with the IIF Function.
To get the earliest date with the status "Open", use the expression: =IIF(Fields!Case_Status.Value="Open",Min(Fields!Case_Created_On_Date.Value),Nothing)
To get the latest date with status "Open", use the expression: =IIF(Fields!Case_Status.Value="Open",Max(Fields!Case_Created_On_Date.Value),Nothing)
Here is the query data for my dataset:
Design:
Preview:
Best Regards,
Joy
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.