Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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
User | Count |
---|---|
41 | |
27 | |
23 | |
19 | |
16 |
User | Count |
---|---|
54 | |
35 | |
19 | |
19 | |
15 |