SSRS 2005 Display Fields!AMT_TOTAL WHERE Fields!DATE_ADD BETWEEN @ReportVariable1 and @ReportVariable2

StackOverflow https://stackoverflow.com/questions/18933670

  •  29-06-2022
  •  | 
  •  

Domanda

In SSRS 2005 I am trying to display the AMT_TOTAL where DATE_ADD is BETWEEN @ReportVariable1 and @ReportVariable2.

Could someone please help me with the correct syntax of the expression?

I am assuming it is something to the affect of =Fields!AMT_TOTAL IF DATE_ADD >= @StartDate AND DATE_ADD <= @EndDate

È stato utile?

Soluzione

=IIF(Fields!DATE_ADD.Value >= Parameters!MayStartDate12.Value AND Fields!DATE_ADD.Value <= Parameters!MayEndDate12.Value, Fields!AMT_ORD_TOTAL.Value, 0)

is working!

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top