Joined: 20 Apr 2011
Location: United States
Online Status: Offline
Posts: 1
Topic: Crystal expression /Formulas help Posted: 20 Apr 2011 at 11:45am
Can someone help me with this formula. I am very new to Crystal and im migrating crystal report s to MS SSRS. Can you explain me what this formula is going ? and any suggestions on how to use this in SSRS??
if ({?ShowDetails}=-1) then {VW_RPT_VOLUME_SUMMARY.TOTALBASEPRICE} else if Left ({VW_RPT_VOLUME_SUMMARY.ACCOUNTCODE},1 )="5" then 0 else {VW_RPT_VOLUME_SUMMARY.TOTALBASEPRICE}
Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Posted: 21 Apr 2011 at 7:10am
If the parameter called "ShowDetail" is 1 then display the total base price. Otherwise, if the first character in the account code is "5" then display 0, else display the total base price.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum