Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I would like to get a count distinct customer based on the rank of the family, only where the rank= 1. The objective is to obtain a histogram counting the distinct clients according to the preferred family
thanks you
I am glad we were able to help. Please consider closing this thread if you are satisfied, or let us know how else we can help.
Qlik Community Tip: Marking Replies as Correct or Helpful
Best,
Sunny
May be this?
Sum(If(Rank(Sum(FieldName))=1, Sum(FieldName)))
Sum within Sum won't work without Aggr()... May be this
Sum(Aggr(If(Rank(Sum(FieldName))=1, Sum(FieldName)), CodeClient, super_famille))
Hello, Saoud!
I've generated some data with families. Please, look at the materials below, is this the task?
Hello,
Thanks for your help but it's not exactly what i want because it count only one family but it is possible that a client like a different family : example number 000000003
thanks
Hello,
thank you for your reply, I tried your formula but it generates an error
regards
Can you show the expression in image?
Hello,
image of expression
thanks
Hello,
image of expression
thanks
There is no any typo error, What would be the issue. And that i've seen you image of data too. Seems working. What are you trying for right side report