cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
laxmikantpatil Frequent Visitor
Frequent Visitor

How to convert negative number to text in a column

I have a column wherein I have some negative values.

I want to create another column which says if the value is negative then OFF else ON.

I am unable to do this.

Please help

1 ACCEPTED SOLUTION

Accepted Solutions
jthomson New Contributor
New Contributor

Re: How to convert negative number to text in a column

Try:

 

newcolumn = if ([oldcolumn]<0,"OFF","ON")

1 REPLY 1
jthomson New Contributor
New Contributor

Re: How to convert negative number to text in a column

Try:

 

newcolumn = if ([oldcolumn]<0,"OFF","ON")

Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Kudoed Authors
Users Online
Currently online: 278 members 2,894 guests
Please welcome our newest community members: