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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

understand the formula

help me understand this formula

sum({$<Month=,Year_Month=>} Coverage_Achievement_Qty) / sum({$<Month=,Year_Month=>} Coverage_Target_Qty)

Calendar:

LOAD * INLINE [

    Year_Month

    1

    2

    3

    4

    5

    6

];

2 Replies
robert_mika
Master III
Master III

Is simple division of all  values from Achievement_Qty field by all values from Target_Qty

You could write this as

sum( Coverage_Achievement_Qty) / sum(Coverage_Target_Qty)

jjordaan
Partner - Specialist
Partner - Specialist

Hi Mohammad,

This expression is summarizing the Coverage_Achievement_Qty but it is disregarding the selections for Month and Year_Month.

It is doing the same for Coverage_Target_Qty.

In the end the outcome for sumarizing Coverage_Achievement_Qty will be divided by Coverage_Target_Qty