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 / Insert new conditions ...
Power Apps
Unanswered

Insert new conditions in the beginning or middle of a calculated field

(0) ShareShare
ReportReport
Posted on by 6

Hi all,

 

I have a calculated field with close to 10 if-else conditions. I need to update this calculated field to consider a new condition that has priority over all the other conditions, so I need to place it in the first IF.

I don't see how I can insert a new condition. All I see is that I can delete existing conditions and append new ones to the end.

If I want to add a new condition to the beginning, do I need to remove all conditions and add them again, wasting a lot of time for something apparently trivial or there is something I am missing?

I tried editing the definition file of the calculated formula when you export the solution as unmanaged, but it is a way too complex XML.

 

Thanks,

David

I have the same question (0)
  • Parvez Ghumra Profile Picture
    1,579 Moderator on at

    @Manresa In my opinion, this is where the low-code approach creates maintenance difficulties. If you have the necessary skills within the team, it might be worth considering replacing your Calculated Field with some simple code instead depending on your use case (eg. plugin)

  • Manresa Profile Picture
    6 on at

    Hi @parvezghumra,

    Thank you for replying. I understand that and I try to avoid using Calculated Fields as much as possible now, but this one already exists and is being used in multiple places, so it is not very viable for us to substitute it everywhere now.

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard