I have one To_date
parameter in my report, and I have to pass max date vale into the To_Date
parameter from two data sets, which contains date. How can I write expression to retrieve max date?
Asked
Active
Viewed 158 times
0

Tony Babarino
- 3,355
- 4
- 32
- 44

Swapnil Date
- 9
- 1
- 7
1 Answers
0
you can try to use below expression
=IIF(MAX(Fields!PaymentDate.Value, "dsMain") > MAX(Fields!OrderCreatedDate.Value, "dsMain")
, MAX(Fields!PaymentDate.Value, "dsMain") , MAX(Fields!OrderCreatedDate.Value, "dsMain"))
Thanks.

Kevin Shah
- 1,589
- 1
- 13
- 20
-
Thanks Kevin. i will try your given expression – Swapnil Date Mar 11 '17 at 14:39