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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Power BI and CRM - problem with new custom column

(0) ShareShare
ReportReport
Posted on by

Hi All.

Today is my second work day with Power BI. And I try to create new report. I want to add the new column in AccountSet (in Power BI) with formula:

6170.Capture.PNG

But after "Ok" I get error message:

Expression error: The name 'IF' wasn't recognized.  Make sure it's spelled correctly.

I checked my expression, but I can't find error.

Please, somebody can help to me?

Thanks!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Royal King Profile Picture
    27,686 on at
    RE: Power BI and CRM - problem with new custom column

    Your formula should be

    if(Revenue.value) <300 then "Under 3 Mill." else "Over 3 mill"

  • Community Member Profile Picture
    on at
    RE: Power BI and CRM - problem with new custom column

    Thanks!!! It works!

    I thought that I must use DAX References? It isn't correctly?

  • Community Member Profile Picture
    on at
    RE: Power BI and CRM - problem with new custom column

    IF ( [Revenue.Value] < 3000 ; "Under 3 mill." ; "Over 3 mill." )

    Replace , by ;

  • Suggested answer
    Royal King Profile Picture
    27,686 on at
    RE: Power BI and CRM - problem with new custom column

    DAX functions are same like excel but syntax is slightly different for Power BI

    Check below documentation for reference

    support.powerbi.com/.../464157-tips-and-tricks-for-creating-reports-in-power-bi-d

  • Community Member Profile Picture
    on at
    RE: Power BI and CRM - problem with new custom column

    >Replace , by ;

    Not, it doesn't work.

    I get message "Token Comma expected"

  • Community Member Profile Picture
    on at
    RE: Power BI and CRM - problem with new custom column

    Chitra

    Thank you very much!

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans