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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Formula not working ev...
Power Apps
Answered

Formula not working everytime

(0) ShareShare
ReportReport
Posted on by 675

Hi,

In the pic below,I am using the following formula to increment the previous value by 1 whenever a new form is submitted.

Last(DTA_Portal).'Opportunity ID2' + 1

 

But,sometimes the formula fails to work and whenever a new form is submitted the incremented number doesn't reflect in the SharePoint list as shown in the pic below.

freshyshreya_0-1632576338709.png

Is there any other formula or any other solution for this?

Please help!

 

Categories:
  • Verified answer
    eka24 Profile Picture
    20,925 on at

    Try this:

    If(Form4_1.Mode=FormMode.New,
    First(Sort(DTA_Portal,ID)).'Opportunity ID2'+1,Parent.Default)

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard