cancel
Showing results for 
Search instead for 
Did you mean: 

IF logic Statement in PAS

Former Member
0 Kudos

Hi,

I have two issues while calculating the Virtual variables in PAS.

1.I want to calculate a virtual variable with 'IF' logic.Result of the virtual variable is greater than 10 then value is 1 else 0.How to calculate this in PAS.

2.For some of the virtual variables which has got Zero divided by Zero and the value is not displaying in SSM Scorecard screen.how to manage this issue.

Regards

Bala

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

1)

example of logic:

var2

if var1 gt 10 =1

otherwise =0

2)

what value do you want to display?

if I understand your problem if you have two variables with zero and you want a result, you have to do a formula like:

var3

If var1 ne 0 and var2 ne 0 then var3=var1/var2

otherwise = <value>

Miguel

Answers (0)