Forum Discussion
DaanBos
3 years agoFrequent Visitor
How to count duplucates in DAX?
Dear Users,
I want to count every consigment for each customer.
I tried the following DAX Code:
Count_consignments_per_Customer = CALCULATE(COUNT(CONSIGNMENT[CONSIGNMENT_NR]), ALLEXCEPT(CUSTOMER,CUSTOMER[CUSTOMERNO]))
But it returns the value 1 everytime.
Pls help
2 Replies
- v-zhangti
Community Support
Hi, DaanBos
Can you provide more sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.