We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
Dear Users,
I want to count every consigment for each customer.
I tried the following DAX Code:
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.
Hi @DaanBos
Please try
Count_consignments_per_Customer =
CALCULATE (
COUNT ( CONSIGNMENT[CONSIGNMENT_NR] ),
ALLEXCEPT ( CONSIGNMENT, CUSTOMER[CUSTOMERNO] )
)
User | Count |
---|---|
14 | |
12 | |
7 | |
7 | |
6 |
User | Count |
---|---|
28 | |
20 | |
14 | |
11 | |
5 |