Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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.