Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Guys,
i'm trying to create this range for Surgery Date using a variable (the one in bold).
i tried several times but is not working... how i can fix this?
Thank you!!
if(Match([SalesRepException],'I22') AND SurgeryDate>=($(vStartI22)) AND SurgeryDate<=($(vStartI22)+365),'30',
Did you try adding single quotation marks?
if(Match([SalesRepException],'I22') AND SurgeryDate>=('$(vStartI22)') AND SurgeryDate<=('$(vStartI22)'+365),'30',
Also try using AddMonths instead of +365.
if(Match([SalesRepException],'I22') AND SurgeryDate>=('$(vStartI22)') AND SurgeryDate<=AddMonths('$(vStartI22)', 12),'30',