Forum Discussion
dylanndengu
Helper I
5 years agoMake Customer Count Column using Distinct Values
Hi Everyone, I am having a bit of trouble creating a customer count column based on the below information: Essentially, I would like a column where customer count is equal to 1 if th...
- 5 years ago
Hi dylanndengu ,
You can use the following measure :
Measure = SUMX(SUMMARIZE('Table','Table'[report date],'Table'[sold date],"countofcustomer",DISTINCTCOUNT('Table'[document])),[countofcustomer])Sample data:
Result:
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
amitchandak
Super User
5 years agodylanndengu , nor very clear , Try measure like
Distinctcount(Table[documentnbr])
or
Countx(summarize(Table, Table[reportdate], table[soldate], "_1",Distinctcount(Table[documentnbr])),[_1])