Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
danialier
Creator III
Creator III

Formula excluding values

Hi,

I want a formula that gives me the average revenue for company A excluding the cells with "0" and "n/a" values. Formula below is not working...

 

=avg({<[Revenues Customer A]<>'0'+'n/a'>}[Revenues Customer A])

Could you please help ?

thks,dani

1 Solution

Accepted Solutions
PabloOrtiz
Partner - Creator
Partner - Creator

Hi dani, try this:

=avg({<[Revenues Customer A]-= {'0','n/a'}>}[Revenues Customer A])

View solution in original post

2 Replies
alexandros17
Partner - Champion III
Partner - Champion III

avg({$ <[Revenues Customer A] = {[Revenues Customer A]} - {'0', 'n/a'}>}[Revenues Customer A])


let me know

PabloOrtiz
Partner - Creator
Partner - Creator

Hi dani, try this:

=avg({<[Revenues Customer A]-= {'0','n/a'}>}[Revenues Customer A])