Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
37 | |
25 | |
19 | |
14 | |
8 |
User | Count |
---|---|
69 | |
48 | |
44 | |
19 | |
15 |