Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
ShellyG
Creator
Creator

Calculation for Target

Hi there, 

I have the following calculation:

sum({<IS_COMPLETED={'Open'},FM_TI_OFF={0}>}TICKET_CONV_VOLUME)+sum({<IS_COMPLETED={'Open'},FM_TI_OFF={0}>}TICKET_MAIL_VOLUME)

Where:

{<IS_COMPLETED={'Open'},FM_TI_OFF={0}>} is the open tickets for the current month. 

I need to calculate the target for this which is going to be the average of open items per month. Then I need to compare this target with the previous months.

Can you help me with the two calculations - one for calculating the target itself and second for comparing the target to the previous month? 

BR,

Shelly

Labels (3)
2 Replies
PrashantSangle

post sample data with expected ouput

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Kushal_Chawda

for average you can try something like below

avg(aggr(sum({<IS_COMPLETED={'Open'}>}TICKET_CONV_VOLUME)+sum({<IS_COMPLETED={'Open'}>}TICKET_MAIL_VOLUME),Month))

then you can compare it with previous month for which you can use the Flag which you have created for previous month