Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
it says error in this expression, but I don't know why:
if(Keynumber='Orders',count(order_id),
if(Keynumber='Revenue',sum(amount),
if(Keynumber='Conversion',sum(first),
if(Keynumber='New Users',count(DISTINCT(user_id),
if(Keynumber='New Subscriptions',sum(new)-sum(cancelled)))))))
Hi
I think you need:
if(Keynumber='Orders',count(order_id),
if(Keynumber='Revenue',sum(amount),
if(Keynumber='Conversion',sum(first),
if(Keynumber='New Users',count(DISTINCT user_id),
if(Keynumber='New Subscriptions',sum(new)-sum(cancelled))))))
Hope that helps
Jonathan
Hi
I think you need:
if(Keynumber='Orders',count(order_id),
if(Keynumber='Revenue',sum(amount),
if(Keynumber='Conversion',sum(first),
if(Keynumber='New Users',count(DISTINCT user_id),
if(Keynumber='New Subscriptions',sum(new)-sum(cancelled))))))
Hope that helps
Jonathan