Forum Discussion
How to identify new customers
- 4 years ago
Hi VModani ,
Generally, you can point out when was the first time a customer is shown on the table, and count thise rows or customers by that.
Please create a Calculated column as follows:
Customer first appearance=
Var this_row_customer=Table[Customer Name]
Var this_row_sale_date=Table[Sale Date]
Var first_appreance=Calculate (MAX(Table [Sale Date])
FILTER(Table, Table[Customer Name]=this_row_customer]))
Return
IF(this_row_sale_date=first_appreance, Table[Customer Name],"")
Then - on the visual - count the Table[Customer first appearance] by Sale Date.
Hope it helps
David
Hi VModani ,
Generally, you can point out when was the first time a customer is shown on the table, and count thise rows or customers by that.
Please create a Calculated column as follows:
Customer first appearance=
Var this_row_customer=Table[Customer Name]
Var this_row_sale_date=Table[Sale Date]
Var first_appreance=Calculate (MAX(Table [Sale Date])
FILTER(Table, Table[Customer Name]=this_row_customer]))
Return
IF(this_row_sale_date=first_appreance, Table[Customer Name],"")
Then - on the visual - count the Table[Customer first appearance] by Sale Date.
Hope it helps
David
Thanks, this is working but showing +1 values for some reason.
I ended up writing a SQL querey for it in the end which is working perfectly