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
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.
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.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 3 |