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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Formula verification i...
Power Apps
Unanswered

Formula verification in Dataverse

(0) ShareShare
ReportReport
Posted on by 37

Hi Guys,

 

So i'm trying to build a formula in dataverse in theory is simple:

 

If the result of the formula is greater than 1 return 1.

 

This is the formula: 

 

MarcosP_0-1653348757779.png

 

I created another field with the same formula trying to put the value = 1 but even with this happens to result > 1.

 

MarcosP_1-1653348933064.png

 

Even with this in app brings field greater than 1:

 

MarcosP_2-1653348986102.png

 

 

 

 

 

 

 

I have the same question (0)
  • Verified answer
    Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @MarcosP ,

     

    Looking at this, it appears you have two calculated fields and you are trying to set one value based on the other.  There is no specific order of precedence here so I am assuming this is why it is not working as expected.

     

    Is there a reason you don't do a single calculated field that will have the following type of code?

     

    If A2_Analiser_v2 = Nao

      AND a39_auxCalculodiv is less than 1

             Set A39_PercentualProvisaoFinalAposRevisao_v2 to A62..

    Else

         Set A39_PercentualProvisaoFinalAposRevisao_v2 to 1.00

    End If

     

    Maybe this isn't what you were trying to do but I thought it looks like the right approach.

              

  • MarcosP Profile Picture
    37 on at

    Thanks for answer! I resolved with something like that.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 802 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 332 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 273

Last 30 days Overall leaderboard