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 moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
Expression.Error: We cannot apply operator - to types Number and Text.
Details:
Operator=-
Left=-100
Right=
The expression error is in a new custom column called amount.
I changed the debit, credit, and new amount columns to all match... I tried decimal, currency, and text - the error did not disappear.
Below is a screenshot of the custom column formula... why am i getting this error?
Thanks!
Unfortunately, that did not work... I replaced null with 0 in both the debit and credit columns and I am still getting the error. See the larger screenshot below.
Please - any more ideas to help me? THANKS ALL
Hi - See screenshot. Unfortunately, that does not help. I tried decimal, text, and currency already... making sure all 3 fields match. still getting the error.
Any other ideas??? Thanks!
This is another screenshot that may help... Thanks all - I really appreciate the assistance.
Share your work-in-progress Power BI file via OneDrive, Google Drive or Similar anonymously, and will take a look.
Currently, the Data Type is set as Text needs to be changed from Text
to Decimal Number.
Check out the May 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 |
|---|---|
| 4 | |
| 3 | |
| 3 | |
| 1 | |
| 1 |