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 / Bug with User Defined ...
Power Apps
Unanswered

Bug with User Defined Functions

(0) ShareShare
ReportReport
Posted on by 37

I've been using the new User Defined Functions in App.Formulas. 

 

The functions were working perfectly for the past few weeks, but the same code is now generating an error:

 

londontoholland_0-1710594186096.png

 

It seems to be any function with input parameters.

 

They are still working correctly... i.e. when I reference them throughout the app, the output from the functions work fine. It's just that they are now generating errors within App.Formulas. If I make any changes in App.Formulas (e.g. delete and replace a semi-colon), the errors go away but when I reload the app, they reappear.

 

Here's an example of the function above working fine

londontoholland_1-1710594404037.png

 

 

Categories:
I have the same question (0)
  • ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    Hi @londontoholland , I tried to replicate this and it is working fine for me without any error:

    ANB_0-1710595365162.png

    Could you please confirm that New analysis engine and User-defined functions both are turned on? If not then turn it ON and save the app and close and reopen it.

    ANB_1-1710595415186.png

    ANB_2-1710595432442.png

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

    I hope this helps.

    Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


     

     

  • londontoholland Profile Picture
    37 on at

    Hey @ANB , yep both of these are on. I've tried switching them off, reloading and switching them back on again, but I just get the same errors:

     

     

    londontoholland_0-1710596152443.png

     

    londontoholland_1-1710596178739.png

     

    londontoholland_2-1710596507869.png

     

  • ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    @londontoholland What is the Authoring version of your app? Mine is 3.24031.25.

     

    May be it is related to Authoring version of your app. 

     

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

    I hope this helps.

    Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


  • londontoholland Profile Picture
    37 on at

    @ANB same one as you... I even tried to switch to the latest version (3.24032.18) but it made no difference

     

    londontoholland_0-1710596822911.png

     

     

     

     

     

  • ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    @londontoholland I would suggest you to get in touch with Microsoft Support. As this feature is still in experiment stage so not sure about the stability.

     

    Thanks,

    ANB 

     

     

  • Sennematic Profile Picture
    44 on at

    Hello, I noticed this recently as well. If you edit the formula in any way, it shows ok. However if you save and exit your app, and then reload, or make any other changes to any formula, the same error appears.

    I have the exact same issue where I generate some text in a function, but my input values show an error stating they are not defined. If I erase 1 letter, then enter it again, formula works as intended. But then after some time (or a refresh, or any edit to any Name Formulas or UDFs), the error returns.

  • jmclark5000 Profile Picture
    2 on at

    I wanted to see if you had any further progress with dealing with this situation.  I am having the same issues that you are describing and haven't been able to fix it.

  • Sennematic Profile Picture
    44 on at

    For me, it self-corrected some time ago, but cropped back up in 3.24054.19 (Although I prefer this vs 3.24054.17 where the advanced options for all controls vanished). I'm sure it'll be fixed in a future version.

  • ShantanuP Profile Picture
    Microsoft Employee on at
    Do you still see this issue happening? I can't see the original screenshots anymore. If it is still happening then please share the repro code. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard