Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. 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" } )
)
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.