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 / Conditional default va...
Power Apps
Unanswered

Conditional default value on edit form triggers "column has changed" in power automate when condition is not met

(0) ShareShare
ReportReport
Posted on by 2

I have a comment box (text input control) outside of my edit form. Inside my form, I have a conditional statement in the default property of the DataCardValue connected to a column in my SharePoint list. 

If(!IsBlank('Comment_1'.Text),
    'Comment_1'.Text
)
 
My intention is if there is a comment, then it will populate this hidden control in my edit form. If there is no comment, I would like the edit form to act like there was no change as normal, so that when I check if the column has changed in power automate it will be false. Is there a way to do this?
Categories:
  • Shaheer Ahmad Profile Picture
    2,202 Moderator on at

    To work around this, you can use a variable to store the initial value of the column and then compare it later to determine if there's a real change. Here's an example:

    1. In the Default property of your DataCardValue, use the variable to check if there's a comment:
      If(!IsBlank('Comment_1'.Text), 'Comment_1'.Text, Parent.Default)
      This way, if there's no comment, it will default to the initial value, which won't trigger a "column has changed" event.

    2. In Power Automate, when checking if the column has changed:
      Give your column logical name in the Select Column section of the trigger.

     

    This way the flow will only trigger when only your desired column value changes.

  • gsp1 Profile Picture
    2 on at

    Can you clarify the Power Automate part of your solution? 

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 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard