Skip to main content

Notifications

Community site session details

Community site session details

Session Id : +AAZZhV102YPR7o2/P/9Y8
Power Apps - Building Power Apps
Answered

Behavior Function in a non-behavior property. Error

Like (0) ShareShare
ReportReport
Posted on 24 Sep 2024 13:42:24 by 365
I am wanting to change the value of a text Value but I keep getting this error messages:
1)Behavior Function in a non-behavior property. You can't use this property to change values elsewhere in the app
2)Unexpected characters. The formula contains 'Control' where 'Indent' is expected. 
 
 
Is there something i am missing or is there another way to do this. 
Categories:
  • Nirav Raval (Akira28) Profile Picture
    150 Super User 2025 Season 1 on 24 Sep 2024 at 14:11:42
    Behavior Function in a non-behavior property. Error
    Hi Trout19 ,

    Try to update the button behavior and value of text property with below step, it might help 

    1) Button (OnSelect)
         If(IsBlank(FormversionValue1), Set(FormversionValue1, 0))


    2) Lable (Text property)
        If(IsBlank(FormversionValue1), Parent.Default, FormversionValue1)


    If this post solved your issue, clicking 'Does this answer your question' will help others discover the solution and close the topic. If you found it helpful, a Like would be awesome!


    Regards,
    Nirav J Raval (Akira28)
  • Trout19 Profile Picture
    365 on 24 Sep 2024 at 14:07:09
    Behavior Function in a non-behavior property. Error
    You are the Bomb Dot Com. Thank You So Much
  • Verified answer
    NPPlatform Profile Picture
    606 Super User 2025 Season 1 on 24 Sep 2024 at 14:00:48
    Behavior Function in a non-behavior property. Error
    The Set()-function is used to initialize and change global variables. This can not be done from within a 'Value' property. What do you exactly want the value to be? If you want it to be 6 if FormversonValue1 is blank then it would be:
     
    If(IsBlank(FormversonValue1),6,Parent.Default)

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 78 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 41 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 38

Overall leaderboard