Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
hi,
I should need to count how many IdMember I have when the Account is 70810030 and there is no a movement with the Account 70510230 with the same CodPago.
In the table below it should count only the movements in black (6 movements).
Everything is in the same table. I need to use DAX, not to create another table, because my DDBB is so big.
Thanks
| IdMember | Account | CodPago | Importe |
| 340941 | 70510230 | 6570978 | 13,99 |
| 336324 | 70810030 | 6571176 | -59,99 |
| 591715 | 70810030 | 6571404 | -59,99 |
| 341593 | 70810030 | 6571751 | -56,52 |
| 349251 | 70810030 | 6572379 | -56,52 |
| 329769 | 70510230 | 6649504 | 13,99 |
| 349190 | 70810030 | 6653518 | -94,90 |
| 349190 | 70510230 | 6653518 | 94,90 |
| 634287 | 70810030 | 6685785 | -49,99 |
| 634287 | 70510230 | 6685785 | 49,99 |
| 632611 | 70810030 | 6685787 | -49,99 |
Solved! Go to Solution.
hi,
I wanted use DAX, but, definitely, this is the solution. thanks a lot @olgad it has worked.
hi,
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 37 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 30 | |
| 26 | |
| 26 |