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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

How to write expression for monthly Rate X sales by month ?

Hi All

I have a sales table below :-

month rate v1.png

Rate for 20 Jan = 20 

Rate for 20 Feb = 25

Sales for 20 Jan = 270,569

Sales for 20 Feb = 446,865

How to write expression = 20 X 270,569 + 25 X 446,865 

Paul

 

 

1 Solution

Accepted Solutions
Vegar
MVP
MVP

Try something like this:

=Sum(Aggr(Only(Rate)*Sum(sales), YearMonth))

View solution in original post

2 Replies
Vegar
MVP
MVP

Try something like this:

=Sum(Aggr(Only(Rate)*Sum(sales), YearMonth))

paulyeo11
Master
Master
Author

Hi Sir

Thank you very much

Paul