Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi guys,
I am trying to create a KPI which tells me the number of customers that purchased in one selection also purchased in the other.
Not sure how to do this, anyone know?
This is my code in app:
SUM(If([Transaction Member ID]={Alt}[Transaction Member ID],1,0))
I may be doing this very wrong, any help is appreciated.
Thanks in advance.
Ok, I think this will require changing the data structure. Thought there was an easier way :l.
Thanks for your help though
May be this
Count(DISTINCT {<[Transaction Member ID] = p({<[Transaction Member ID] = [Alt]::[Transaction Member ID]>})>} Customer)
Hi Sunny,
Sorry for late reply, was on holiday.
Thanks for your reply, unfortunately the code doesn't seem to work. I only get count of the main state selection - do you know what could be causing this?
How about this
Count(DISTINCT {<[Transaction Member ID] = [Alt]::[Transaction Member ID]>} Customer)
Same answer , I'm not sure if the [Alt]:: part of the code is working
What is Alt here? The name of your alternate state?
Yeah Sunny, that's the name of the alternate state
Are you using some kind of extension to do this? Might be the reason why the expression doesn't work.
Yeah, I am using an extension for it - is there another way of doing comparative analysis?
See if this thread can help (specifically Richard's response)