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: 
Not applicable

Experssion for multiple price per article

Header 1Header 2Header 3Header 4Header 5
Article
Year-Month
Unit of Price
Number of sale
Total of sale
1234
201401
100010
1234201402110020
1234201403120030

Dear Friends

I need an experssion for Total of sale (for each Year-Month).

5 Replies
ashfaq_haseeb
Champion III
Champion III

Hi,

What is the definition of total sale as per you.

Is it like.

Total Sale = Unit of Price * Number of sale or what?



Regards

ASHFAQ

Not applicable
Author

Total Sale for each year-month = unit of price * Number of sale ( for 201401 - 201402 - 201403 ,.......)

ashfaq_haseeb
Champion III
Champion III

Hi,

There is issue with your data model.

If you select some value in your field Year Month, There is no possible association in field Fe which I believe is unit price.

Please fix your data-model

Hope it help

Regards

ASHFAQ

Not applicable
Author

Thanks , I fixed data model , but i have duplicate values yet and i don't know how use "SUM IF" for calculate total sale for each year-month.

ashfaq_haseeb
Champion III
Champion III

Hi,

Are those duplicate values cumming from Database?

If not then need to look at the data model.

Regards

ASHFAQ