Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
AllanBerces
Post Prodigy
Post Prodigy

New Visual Calculation_Replace Negative Value to 0

Hi Good day,

Can anyone help me on how can i replace the negative value to 0 in new visual calculation.

AllanBerces_0-1716721455037.png

Thank you

Allan

1 ACCEPTED SOLUTION
lucadelicio
Super User
Super User

Try =
IF([Materials Needed] - [Available Items] < 0, 0, 

,[Materials Needed] - [Available Items]
)


Luca D'Elicio

LinkedIn Profile

View solution in original post

2 REPLIES 2
lucadelicio
Super User
Super User

Try =
IF([Materials Needed] - [Available Items] < 0, 0, 

,[Materials Needed] - [Available Items]
)


Luca D'Elicio

LinkedIn Profile

hi @lucadelicio thank you, work very well

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Top Kudoed Authors