Forum Discussion
morab
Advocate I
7 years agoRepeat Customer
Hi, Good Day! Following is the data table: OrderDate Distributor Code OutletCode SRName Category SKUCode OrderKG SalesKG 9/1/2019 14413 100033897 Shipon DDP 403 0.48 0.48 ...
morab
Advocate I
7 years agoHi lc_finance
Thanks a lot for your kind cooperation. :smileyhappy:
You are Superb!!! :heart::heart:
Its working for me.:smileyhappy:
I would like to request, can you please help me to have slicer option (of followings columns) for "Repeat Customer Different Days" also. Currently which is working only for "Repeat Customer".
- by "Category" (already have the solution in your shared measures)
- by "SRName"
- by "SKUCode"
- by "Route"
Here is the link for the Excel file: https://www.dropbox.com/s/lj12jexql84iqmq/order_sales.xlsx?dl=0
Here is the Screenshot (MS.EXCEL) :
Looking forward to your kind cooperation :)
lc_finance
Solution Sage
7 years agoHere is the new formula, I took the time to simplify it:
RepeatCustomerDifferentDays New =
SUMX(VALUES('Datatable'[OutletCode]),
VAR dates = CALCULATETABLE(VALUES('Datatable'[OrderDate]))
RETURN IF(COUNTX(dates, [OrderDate])>1,1,0)
)- morab7 years ago
Advocate I