This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I'm trying to use a calculate formula to sum our out going per payment terms. The formula i'm using is
CALCULATE(SUM('supplier pymt data'[Supplier Amount]),Table1[payment category]),
but i'm getting the following error message in relation to payment category
Cannot convert value '0.1 Pre payment' of type Text to type True/False.
Solved! Go to Solution.
Try a measure like
total =
CALCULATE (
SUM ( 'supplier pymt data'[Supplier Amount] ),
FILTER (
'supplier pymt data',
CONTAINS (
Table1,
Table1[payment category], 'supplier pymt data'[payment category]
)
)
)
Try a measure like
total =
CALCULATE (
SUM ( 'supplier pymt data'[Supplier Amount] ),
FILTER (
'supplier pymt data',
CONTAINS (
Table1,
Table1[payment category], 'supplier pymt data'[payment category]
)
)
)
Dax isn't my native language, but I'm pretty sure that CALCULATE is a function where you filter the table results for a specific value. The error is telling that you it can't evaluate your filter expression for the CALCULATE function. A good site to use for DAX Expressions is here and a definition for CALCULATE is below.
| CALCULATE(<expression>,<filter1>,<filter2>…) | Evaluates an expression in a context that is modified by the specified filters. |
Nate
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 25 | |
| 23 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 50 | |
| 30 | |
| 24 | |
| 23 |