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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
bentley32
Contributor
Contributor

Qliksense : formula work only when filtering in the lowest level

Hello,

With this formula, it does work well when i do filter with case_id, but when i take it of i got null

= sum(If((m_gst>=M) , principal,0))/ (aggr(count(enc_principal),M,case_id))

 

Thanks

1 Reply
rubenmarin

Hi, maybe it's bacause you need an aggretaion formula for aggr, like

Sum(aggr(count(enc_principal),M,case_id))

Aggr returns a value for each dimension combitation, you need something to converts all those differnt values into one.