Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I am trying to run a sum total to include a filter that only includes specific codes in the flow column.
The below is what I have tried yet the error I get is "Operator or expression '()' is not supported in this context.
Solved! Go to Solution.
Please try something like below if it suits your requirement.
Sum of Payment =
CALCULATE (
SUM ( 'Kyriba AGTL'[Ledger amount (value)] ),
KEEPFILTERS ( 'Kyriba AGTL'[Flow]
IN { "-AP", "-ICPAY", "-VAT", "-EXP", "-RENT", "-ICPAYR", "-PAYROLL" } )
)
This is perfect, thank you so much for your help!
Please try something like below if it suits your requirement.
Sum of Payment =
CALCULATE (
SUM ( 'Kyriba AGTL'[Ledger amount (value)] ),
KEEPFILTERS ( 'Kyriba AGTL'[Flow]
IN { "-AP", "-ICPAY", "-VAT", "-EXP", "-RENT", "-ICPAYR", "-PAYROLL" } )
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 10 |