Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
kavita25
Partner - Specialist
Partner - Specialist

How to use if condition in text box.

How to use the below expression in Text box:


avg(if((ValidFrom<=[GR Date] and [GR Date] <=rangedate),(OLDRATE-NEWRATE)))


Any help, would highly appreciate.


Regards,

Kavita



1 Solution

Accepted Solutions
consenit
Partner - Creator II
Partner - Creator II

Hi there.

When used In textboxes expressions must include the equal sign at the start:

=avg(if((ValidFrom<=[GR Date] and [GR Date] <=rangedate),(OLDRATE-NEWRATE)))

Kind regards,

Ernesto.

View solution in original post

1 Reply
consenit
Partner - Creator II
Partner - Creator II

Hi there.

When used In textboxes expressions must include the equal sign at the start:

=avg(if((ValidFrom<=[GR Date] and [GR Date] <=rangedate),(OLDRATE-NEWRATE)))

Kind regards,

Ernesto.