Is there a way to create a variable inside a formula that is not related to a column?
Solved! Go to Solution.
I'd like to help, but I think some more information is necessary. Could you describe what you are trying to achieve, or do you have a proposed formula?
@bnadler004 wrote:
I would like to do the following in a conditional statement:
If (Condition) then [New Variable] = [Column A] Else "Not Tested" (or -1 if
numeric) Endif
The conditional statement looks straightforward. What did you have in mind to create this "New Variable". Whatever you would do to create that variable could be done within the conditional statement rather that in a separate field.
I can get what I want using an Append, however, if there is the existence of temporary variables, it would be cleaner.
What information do you append? Could you attach an example of this workflow?
Whatever goes into creating this "temporary variable" could probably be done within the conditional statement with the same formula without needing to define another variable.
Thanks for providing that sample workflow for me to review. It looks like you're trying to calculate the low/high value range for each vehicle type, for each record in your input. I wasn't sure what the A,B,C,D values in Dataset2 meant, so i skipped them for now.
Take a look at the attached example where I did a little clean up and preparation on DataSet2, then computed value ranges for each record in the second tool container. If this is all wrong, then let me know and I'll give it another shot.
Charlie,
Unfortunately, I cannot open your solution. We are still using V. 11.7
Thank you
Open the .yxmd file in Notepad and change the XML version to 11.5 and see if that works.