Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Get a field from three fields

Hi

can any one help me on the below scenario, I have

ID, Source, global value, face value, total value  from these fields I would like to calculate one more field expected output.

I tried it but I am not getting desired results

need a column from the fields( (Facevalue+totalvalue)*global value) group by Source, ID. How to get it?

PFA for sample data.

Expected result for ID1, source Logistic output: ((1.084859+1.0943367)*0.921033) =2.007113

Regards

john

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Like this I reckon:

LOAD

     ID,

     Source,

     Facevalue,

     [Global value],

     [total value],

     rangesum(Facevalue,[Global value]) * [total value] AS [Expected Out Put]

FROM ...


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar

Like this I reckon:

LOAD

     ID,

     Source,

     Facevalue,

     [Global value],

     [total value],

     rangesum(Facevalue,[Global value]) * [total value] AS [Expected Out Put]

FROM ...


talk is cheap, supply exceeds demand