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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
mahnoor1279
Contributor III
Contributor III

How to get average on specific values in a table

Hey everyone I have data of transactions in which i want to get the average  only if the transaction_type =DEBIT_CARD 

Labels (1)
3 Replies
lironbaram
Partner - Master III
Partner - Master III

Hi 
Something like this 

 

Avg(if(transaction_type='DEBIT_CARD',transaction_value))

 

mahnoor1279
Contributor III
Contributor III
Author

can we apply the same technique for avg per day ?

stevejoyce
Specialist II
Specialist II

aggr(avg({<transaction_type = {'DEBIT_CARD'}>} transaction_value), day_field)