Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Get Absolute values on Account Schedules

Posted on by 166

Hey Lads!

I have a question, 

Can I get the absolute value in a column (column layout) for the account schedule?

I mean, if on a previous column I have the value, for example, -1,239.00, Can I have another column that might be the absolute value, this would be 1,239.00.

I know that, in that simple example, I just have to do Column * -1... But, let's say that, in some others rows, I will have positive values, and then, on those other columns, we would have a negative as result.

I want to get as result only absolute values.

Thank you.

*This post is locked for comments

  • Ruben.Mejia87 Profile Picture
    Ruben.Mejia87 166 on at
    RE: Get Absolute values on Account Schedules

    All right!

    It worked for my goal!

    Thnk you so much :D

  • Verified answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Get Absolute values on Account Schedules

    There’s no native ABS but you can try this: create a new colunm which is a formula of (A*A)^0.5 , where A is your column.

  • Ruben.Mejia87 Profile Picture
    Ruben.Mejia87 166 on at
    RE: Get Absolute values on Account Schedules

    Hello,

    Thank you for the quick response, but I mean on the functionality 'Account Schedule', so I just need to know if the setup of the column layout on there will allow me to do that.

    Again Thank you

  • Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Get Absolute values on Account Schedules

    In C/AL you have the ABS function that return the absolute value of a number...

    [View:https://msdn.microsoft.com/en-us/library/dd355039.aspx]

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans