Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Tmlewin .
7
Views
2
Comments
compound table calculation
Question
i have two tables..
TABLE A
produtcttype Name Quantity CustomerName
GA pencil 5 Pat
GA Pen 4 Charles
RZ Ruler 3 Charles
TABLE B
producttype Name Quantity CustomerName
GA Tablet 6 Charles
RZ Iphone 7 Pat
Main Table
CustomerName TotalQuantity ProductType
Charles x GA
so guys how can i automatically derive the sum of the total quantity of items for charles across both tables for producttype GA for example.Thanks .
João Santos
Hi Tmlewin,
With an Aggregate, you can compute automatically the total quantity of items for Charles in Table A.
I would say the easiest solution is to use two aggregates, one for Table A and another for B.
To really do it in one go, you would need an Advanced Query with an Union SQL statement.
Joao
Tmlewin .
yeap thanks. i have solved it with an advanced query.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...