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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
suvechha_b
Creator III
Creator III

How to calculate expression??

how to do sum of a field depending on period_key and product_key group by....in expression of qlikview??

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

In a chart you use period_key and product_key as dimensions and sum(field) as expression.

In the script you can do something like:

load

    period_key,

    product_key,

    sum(field) as PeriodProductSum

from ...somewhere...

group by period_key, product_key;


talk is cheap, supply exceeds demand
suvechha_b
Creator III
Creator III
Author

no I dont want period_key and product_key as dimension,

I only want the sum(actual_receipts_qty) against fiscal_year and fiscal_month and product_code.

I have tried your script but it is giving error at load..

I am new, Plz tell me step by step

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III