Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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.
| User | Count |
|---|---|
| 16 | |
| 9 | |
| 8 | |
| 7 | |
| 7 |