Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am new to qlikview. Can any one suggest me a aggregation function for the below case.
Attached sample file.
Thanks in advance.
Regards,
Tamil
Is the above expr gives correct result with Dim: S.Person, Cust ?
You can use the below
Dim: S.Person, Cust
Expr: Count(if([Old Price]=[New Price],Cust))
Load
S.Person,Cust,Sum(If([Old Price]=[New Price],1)) As PrdHaveSamePrce
Resident Data
Group By S.Person,Cust;
HI Anbu,
This is sample one. I would like to do this in expression, since the data mode is already created. Can you suggest me an expression?
Dim: S.Person,Cust
Expr: Sum(If([Old Price]=[New Price],1))
Thank you Anbu Chelian. I am curious to know whether it is possible to get the same result through aggregation function. Kindly let me know.
Isn't Sum() aggregration function?
The below expression is working fine, if i add product in dimensions. But its not working if i want to know Sales person wise summary.
=Count(Aggr(Count(if([Old Price]=[New Price],Cust)),
S.Person))
Can you tel me where it is wrong?
Is the above expr gives correct result with Dim: S.Person, Cust ?
You can use the below
Dim: S.Person, Cust
Expr: Count(if([Old Price]=[New Price],Cust))
Sorry the expression which I mentioned is not working. Anyways your solution is working fine. Thank you so much.