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] Error raised whe...
Power Apps
Unanswered

[BUG] Error raised when querying dynamic values in the DefaultValue part of the IfError function

(0) ShareShare
ReportReport
Posted on by 166

Hello,

 

I've found a very strange bug with the IfError function. To make it easy to explain and understand, you can test it with the following formula in the OnSelect event of a Button :

 

 

ForAll(
 Sequence(
 1,
 1
 ),
 IfError(
 1 / 1,
 Notify(
 ThisRecord.Value;
 Error,
 1000
 ),
 Notify(
 ThisRecord.Value,
 Information,
 1000
 )
 )
)

 

 

It should display a notification with the text "1". Whereas, it displays the following error message "An error has occured".

 

More generaly, it seems that the DefaultValue of the IfError function can't access the value from a ForAll expression or a With expressions. Have had issues for both of them.

 

Did you have that same issues ?

 

Thanks

 

Categories:
I have the same question (0)

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 413

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
timl Profile Picture

timl 315 Super User 2026 Season 1

Last 30 days Overall leaderboard