Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
carolin01
Partner - Creator II
Partner - Creator II

Sum & Aggregation

screenshot.jpg

Hi,

Could anybody help my with that mistake in the Sum-Formula? Is the Statement to Group by OverallTransactionDate correct for an aggregration of the sum?

Many thanks in advance.

Carolin

1 Solution

Accepted Solutions
its_anandrjs
Champion III
Champion III

May be try different ways


Load

OveralTransactionDate,

Sum( If(OrderPhase_Desc = 'Revenue' ,  NettAmountUSD)) as SalesNettAmountUSD

From Location

Group By OverallTransactionDate;

Sorry i forget to add the Group by line

Regards

Anand

View solution in original post

4 Replies
its_anandrjs
Champion III
Champion III

I Believe SET analysis not worked in the load script.

Regards

Anand

its_anandrjs
Champion III
Champion III

May be try different ways


Load

OveralTransactionDate,

Sum( If(OrderPhase_Desc = 'Revenue' ,  NettAmountUSD)) as SalesNettAmountUSD

From Location

Group By OverallTransactionDate;

Sorry i forget to add the Group by line

Regards

Anand

Anonymous
Not applicable

Load

     OverallTransactionDate,

     sum(NettAmountUSD) as SalesNettAmountUSD

From

(qvd)

Where OrderPhase_Desc = 'Revenue'

Group by OverallTransactionDate

carolin01
Partner - Creator II
Partner - Creator II
Author

Many thanks for your quick help!!