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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have a column with numbers both negative and positive. Now i want to add a column that states 'negative' whenever a number is below 0 and 'positive' whenever its above. My formula is if([Transactiebedrag]=<0) then ([Transactiebedrag]= "negative") else ([Transactiebedrag]= "positive") . I keep getting an error where its expecting a token literal. Can anyone help me optimise the formula?
Try
if [Transactiebedrag] <= 0 then "negative" else "positive"
--Nate