The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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" } )
)
User | Count |
---|---|
25 | |
10 | |
8 | |
7 | |
6 |
User | Count |
---|---|
32 | |
12 | |
10 | |
10 | |
9 |