Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi,
I'am looking for a DAX measure (not a column) which can calculate the number of people who have 2 or more purchases. In this example the result should be 2. It looks pretty easy but I can't find the solution. Thx for your help.
People | Purchase |
P1 | Pu1 |
P1 | Pu2 |
P1 | Pu3 |
P2 | Pu4 |
P3 | Pu5 |
P4 | Pu6 |
P4 | Pu7 |
Solved! Go to Solution.
It depends on your table structure. Assuming you have a single table called Table, this would work
=sumx(all(Table[People]),if(CALCULATE(countrows(table))>1,1))
It depends on your table structure. Assuming you have a single table called Table, this would work
=sumx(all(Table[People]),if(CALCULATE(countrows(table))>1,1))
Hi Matt,
thank you it works well
User | Count |
---|---|
14 | |
9 | |
8 | |
7 | |
5 |
User | Count |
---|---|
24 | |
16 | |
15 | |
10 | |
7 |