

Creator
2017-08-21
07:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Set negative value to 0 via Number Format
Hi
I have a straight table with expressions. One of my expression is returning positive and negative amounts.
I need the negative amount to be set at 0€.
Is it possible to do it in the Number / Format tab ?
(I know I can put an "IF" in my expression to say "If amount < 0 then 0 else amount" but I want to avoid IF in my expression.
Thanks for your help
Laure
1,546 Views
1 Solution
Accepted Solutions

MVP
2017-08-21
07:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 Replies
2017-08-21
07:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With out IF i don't think it is possible
Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
1,451 Views

MVP
2017-08-21
07:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this
RangeMax(YourExpression, 0)

MVP
2017-08-21
07:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Without using if you can use mapping load in the script part and may those values and make calculation on the script part.
Hope this helps
Regards
Anand
1,450 Views

MVP
2017-08-21
07:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It might be, using RangeMax()


Creator
2017-08-22
03:04 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks it works
1,450 Views
