May-11-2020, 08:01 PM
Hi All,
I have an excel file with user defined business rules as below,
Column_Name Operator Column_Value1 Column_Value2 Operand RuleID Result
ABC Equal 12 and 1 1
CDE Equal 10 and 1 1
XYZ Equal AD 1 1.5
ABC Equal 11 and 2 1
CDE Equal 10 2 1.2
and so on.
Input file (CSV) will look like below,
ABC,CDE,XYZ
12,10,AD
11,10,AD
Goal here is to derive an output column called Result which needs to be looked up to the user defined business rule excel.
O/p Expected
ABC,CDE,XYZ,Result
12,10,AD,1.5
11,10,AD,1.2
Thanks in advance.
I have an excel file with user defined business rules as below,
Column_Name Operator Column_Value1 Column_Value2 Operand RuleID Result
ABC Equal 12 and 1 1
CDE Equal 10 and 1 1
XYZ Equal AD 1 1.5
ABC Equal 11 and 2 1
CDE Equal 10 2 1.2
and so on.
Input file (CSV) will look like below,
ABC,CDE,XYZ
12,10,AD
11,10,AD
Goal here is to derive an output column called Result which needs to be looked up to the user defined business rule excel.
O/p Expected
ABC,CDE,XYZ,Result
12,10,AD,1.5
11,10,AD,1.2
Thanks in advance.