Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I put this expression to count Users who made orders in 2012 and 2013:
count({<Order-Year=2012, Order-Year=2013>}DISTINCT UserPK)
but it doesn't work, the second condition is not considered.
plz help
Try this,
count({<Order-Year={2012,2013}>}DISTINCT UserPK)
Thanks
count({<Order-Year={'2012','2013'}>}DISTINCT UserPK)
Regards,
som
if Order-Year is a field you have to
count({$ <[Order-Year]={'>=2012<=2013'}>}DISTINCT UserPK)
hope it helps
thank u, but it doesn't work
I have 781 users in 2012
409 users in 2013
when I use this expression it gives 906 users!!
it must be less than 409
Try count({<[Order-Year]={2012}>,UserPK=p({<[Order-Year]={2013}>}UserPK)>} DISTINCT UserPK)
the same result
if(Order-Year=2012 and Order-Year = 2013, count(distinct UserPK))
try this
count({<UserPK=p({<[Order-Year]={'2012','2013'}>}UserPK)>} DISTINCT UserPK)
@ Mr. Gysbert Wassenaar : there is an error in this expression