Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I'm looking for a formula that will count the number of rows that meets the following requirements;
- The number of invoices with the same “Number” must be added together.
- Only the invoices that are either “Volledig verrekend” or “Afgeboekt” may be included in the count (Column Variety)
- If possible, I also want to add this requirement: the number of invoices that have one unique “Number” of which the sum of “Amount” is 0.
This is what i want ass output:
Solved! Go to Solution.
Hi ,
You may try this Calculated column.
Catgory =
VAR num =
CALCULATE (
COUNT ( 'Table'[Number] ),
FILTER (
ALLEXCEPT ( 'Table', 'Table'[Number] ),
'Table'[Variety] IN { "Volledig verrekend", "Afgeboekt" }
)
)
RETURN
IF ( num <= 1, 0, num )
The result looks like this.
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please let me know. Thanks a lot!
Best Regards,
Community Support Team _ Caiyun
Hi ,
You may try this Calculated column.
Catgory =
VAR num =
CALCULATE (
COUNT ( 'Table'[Number] ),
FILTER (
ALLEXCEPT ( 'Table', 'Table'[Number] ),
'Table'[Variety] IN { "Volledig verrekend", "Afgeboekt" }
)
)
RETURN
IF ( num <= 1, 0, num )
The result looks like this.
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please let me know. Thanks a lot!
Best Regards,
Community Support Team _ Caiyun
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 12 | |
| 10 | |
| 10 | |
| 9 | |
| 8 |