Hi,
How can I perform the following query in data services? I tried lookup function but I can't because it doesn't has sum, only max and min.
Select account
,total
,(select sum(total) from tbl_account b where a.account = b.account and b.period<2)
From tbl_account b
Where a.period = 2