Joined: 31 Aug 2010
Online Status: Offline
Posts: 32
Topic: Parameter Select Formula Posted: 04 May 2018 at 7:36am
I'am trying to create a report where based on a parameter value of *, it converts that to "00" since that is what the value translates to in my data and I keep getting a error message. What I want to happen is when a user enters either the first two or three selections and puts an asterisk in the third or fourth parameter field it will change that asterisk to "00" to be able to pull back the correct information on the report. Please see below for the current formula I'm using. Any help would be appreciated. Thank You
{ICITEMCODE.ICFAMILY} = {?Family} and
{ICITEMCODE.ICSEGMENT} = {?Segment} and
if {?Class}="*" then "00" else {ICITEMCODE.ICCLASS} = {?Class} and
if {?Commodity}="*" then "00" else {ICITEMCODE.ICCOMMODITY} = {?Commodity}
Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Posted: 07 May 2018 at 7:16am
First off, in the select expert. All results have to evaluate to a True or False. Thus where you have {?Class} = "*" then "00" does not evaluate to a True/False (same for the next statement). You may be able to develop a separate formula (which you can still use in the selection criteria), but it either have to return a True/False or be used in the selection criteria so that it returns a True/False
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