To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have a DAX expression:
Reorders of two or more = CALCULATE(SUM(FactTable[Orders]),'FactTable[Count of duplicates orders]>=2)
that sums orders of two or more per client (rows).
For each duplicates, there is an original order.
How do I modify the DAX expression so that a subraction of 1 will exclude the original order from duplicates orders only.
When I say "duplicates", it can include 3 or more orders.
Thanks in advance.
CALCULATE(SUM(FactTable[Orders]),FILTER(ALL('FactTable[Count of duplicates orders]),'FactTable[Count of duplicates orders]-IF('FactTable[Count of duplicates orders]<2,0,1)>=2))
User | Count |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |