web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Management Reporter IF statement in CALC Column

(0) ShareShare
ReportReport
Posted on by

We want to force the result to be 100% or (100%) if either of these conditions exist:

IF Column B is BLANK THEN 1 OR IF Column C is BLANK THEN -1 ELSE Column D/Column C

I've tried many IF statements but they all error out and can't be saved.

Here is the latest example of the IF statement I'm using: IF B=0 THEN 1 OR IF C=0 THEN -1 ELSE D/C

With this formula I get an error that "The term "ELSE" is expected within the expression. Please add this term to the expression"

What is the correct Syntax for this formula?

Thanks.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    26P2ER Profile Picture
    1,775 on at

    Hello Tom:

    How about trying the below:-

    If B=0 Then 1

    else If C=0 Then -1

    else D/C

     

    Best

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans