Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Kohli
Creator II
Creator II

Script for total salary

I have Table Employee...

E.ID, Emp Name,  Month, Year, Salary

101, Hari, Jan, 2016, 15000

102, Kiran, Jan, 2016, 17000

101, Hari, Mar, 2016, 14000

107, Prem, Apr, 2016, 12000

108, Ashok, July, 2016, 18000

101, Hari, Feb, 2017, 15000

I want find the toata salary of Hari.

3 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Try this,

Sum({<[Emp Name] = {"Hari"}>}Salary)

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Kohli
Creator II
Creator II
Author

Is it possible Sum(<{[ E.ID]={"101"]>}Salary);

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Yes why not.

But correct your expression as below.

Sum({<[ E.ID]={"101"}>}Salary);


Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!