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 :
Customer experience | Sales, Customer Insights,...
Answered

Formula field on opportunity_salesstage

(0) ShareShare
ReportReport
Posted on by 7
I'm trying to create a formula field base on the values(0,1,2,3) in the opportunity_salesstage which is a val data type.
My formula field is called Weighted revenue and wonder which function to use for this.
Trying to achieve this:
weighted revenue = if (opportunity_salesstage = 0, (0,1 * expected revenue))
weighted revenue = if (opportunity_salesstage = 2, (0,3 * expected revenue))
weighted revenue = if (opportunity_salesstage = 3, (0,95 * expected revenue))
 
Thx
Anders
I have the same question (0)
  • Suggested answer
    RudyZhang Profile Picture
    Microsoft Employee on at
    Hi,
     
    We analyzed your requirements, but according to the official documentation the description/option set/is not supported by the formula columns, and we have encountered this problem during our testing.

    Please refer to the documentation in the link below
    Work with Dataverse formula columns - Power Apps | Microsoft Learn
     
     
    Here is another solution we propose.
    1. You can /expected income/ and /weighted income/ set to /number/ type
    2. Use Business Rules to set the conditions.

    3.Active this rule

     
    In addition, we have looked for a possible solution in the Power Platform forum, please refer to the thread in the link below.
    https://powerusers.microsoft.com/t5/Building-Power-Apps/Invalid-argument-type-OptionSetValue-Expecting-an-OptionSet/td-p/1467179
     
     
     
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Rudy Zhang
  • Suggested answer
    Community member Profile Picture
    7 on at
    Thanks. I created a business rule proposed below and it works fine.
     
    Anders

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 175

#2
ManoVerse Profile Picture

ManoVerse 142 Super User 2026 Season 1

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 59 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans