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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Ronald
Contributor III
Contributor III

Sum without Duplicated

Hi, I want sum column Prescripciones, but my table have duplicated values.

 

Duplicados.PNG

1 Reply
nzlysenko
Contributor II
Contributor II

If you want to sum value without Mercado dimension in the component, you can use Aggr function to sum distinct [Presripciones]  by [Mercado]  and then get total sum:

Sum(Aggr(Sum(distinct Presripciones), Mercado))