Skip to main content

In the global store datasource, I made an left join between orders and returns tables. I need to findout the top 10 customers with highest percentage of returns... How do I do that?

3 answers
  1. Aug 25, 2015, 10:21 PM

    you have to create 3 calculated fields...

     

    1. first count the Order ID's (how many times did someone make an order)
    2. then count Return ID's (how many times did someone return an item)
    3. then create a ratio of returns to orders Count(returns) / Count(Order)
    4. then create a ranking function using Index ()

     

    here is a screenshot.  hope that makes senseyou have to create 3 calculated fields...

0/9000