Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi guys,
I have a script to write.
OK. I have 2 columns Customer ID(001,002) and Change(A,B).
I would like to see records of Customer ID which have change the "change", at below, Customer ID 'A' as made a change from A to B.
Date | Customer ID | Change |
---|---|---|
01/01/2016 | A | A |
02/01/2016 | A | B |
01/01/2016 | B | B |
So, i created a calculated dimension - if(change = 'A' AND change = 'B',Customer_ID). It is not working,.......
Great Jim. If you got the answer, please close the thread.
try
if(change = 'A' or change = 'B',Customer_ID)
The above condition will yield you the results only when change has been made by both A and B .. I did not get the your exact requirement ..
try like this
if(change<>Customer_ID,Customer_ID)
Hi Jim,
I am not sure what is your exact requirment. You have mentioed that you are using calculated dimension, so try like below,
=Aggr(If(Concat(Change,'|')='A|B',[Customer ID]),[Customer ID])
Hello Avin!
I need a script that only show me customer ID that have made changes. , like the red color square box.
would be able to share the sample data for the same
sure. ! sample qvw as per attached, Avin
tried. not working.
tried. not the outcome i am looking for
Hi,
You could group the data by Customer ID and find out the distinct number of change values.