select SUM({Entity}.[Units]) from {Entity}
André Vieira wrote:
It works great, thanks!
Note: Make sure the OutPut structure (the final structure of the result) has a Data Type (characteristics) Decimal. Example:
RoomService -> Table
Amount -> RoomService Table which I want to sum
BookingId-> Colum referencing to a Booking Table
@BookingId -> Is the value you pass to the query which you want to check
SELECT SUM({RoomService}.[Amount]) FROM {RoomService} WHERE {RoomService}.[BookingId] = @BookingId
Hope it helps
Link to the video seems broken