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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Shravan Attelli Profile Picture

Shravan Attelli 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans