Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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])