Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Community,
I need to show customers count in a text object where the sales of customers is more than overall avg sales per customers.
Also need to show the same customers list in a table with their sales..
Please help me with solution
PFA
Expression in chart :
=Sum(if(Aggr(Sum(Sales),Cust)>Aggr(Avg(TOTAL Aggr(Sum(Sales),Cust)),Cust),Sales))
Expression in text box:
=Concat(if(Aggr(Sum(Sales),Cust)>Aggr(Avg(TOTAL Aggr(Sum(Sales),Cust)),Cust),Cust), ',' )
Could help us providing a sample qvw to work with and explain your expected output against your data sample?
Please look at sample data
=Sum(if(Aggr(Sum(Sales),Cust)>Aggr(Avg(TOTAL Aggr(Sum(Sales),Cust)),Cust),1))
Hi Suman
Please create one variable as vAVG = SUM(Sales)/Count(Cust)
Text box SET analysis.
=Count({<Sales={'>=$(=vAVG)'}>}Cust)
PFA
Expression in chart :
=Sum(if(Aggr(Sum(Sales),Cust)>Aggr(Avg(TOTAL Aggr(Sum(Sales),Cust)),Cust),Sales))
Expression in text box:
=Concat(if(Aggr(Sum(Sales),Cust)>Aggr(Avg(TOTAL Aggr(Sum(Sales),Cust)),Cust),Cust), ',' )
... this solutions is not weighted by customer... we don't know what Suman needs exactly...
Thanks for your reply,
I have attached the sample file with source data and out put needed. Please find the attachment.. Output sheet is the desired requirement
did you have a look at the solutions above?!?
Yes Just looked in to it, Your solution is correct.. Appreciate your help .. Thanks!!