We have sharepoint as the data source and we have 2 dates created date and closed date , we need to calculate average and median processing time for both .
We are having an issue with following command :
=Datediff("d",(FormatDateTime,First(Fields!Case_closed_date.value,),dateFormat.Shortdate),(Formatdatetime,First(Fields!created.value),DateFormat.Shortdate))