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 / Annoying error message...
Power Apps
Unanswered

Annoying error message when hit with null data in a formula

(0) ShareShare
ReportReport
Posted on by

Hello Powerapps community,

 

How would one take care of data that is there only sometimes, but otherwise null that is inside a formula without recieving an error message in the app?

I have this formula:

error1.PNG

And I tried this to get rid of the error message:

Error.PNG

With no success. 

 

The error message is a red bar that shows up at the top of the powerapp saying: "Expected a valid date value as the parameter to 'TimezoneOffset' function, recieved value: null.". 

I am expecting the value null sometimes, but when I dont expect null, the I want to use the equation I am trying to apply (the first screenshot).

 

Any Ideas?

 

Thank you,

Shubhankar Singh

Categories:
I have the same question (0)
  • Leo09 Profile Picture
    212 on at

    Hi @Anonymous,

     

    What is your data souce when encountered this error?

  • Community Power Platform Member Profile Picture
    on at

    The database being used is an SQL database

  • hpkeong Profile Picture
    2,944 on at

    Hi @Anonymous

     

    May you try:

    ErrorMessage.Visible: If(IsBlank( A ), B, false).

    Please add a false to ensure that it returns false and never show-up even it is nul.

     

    If not, just remove the ErrorMessage box as it is useless to you.

     

    Hope this idea works.

    🙂 

     

  • Community Power Platform Member Profile Picture
    on at

    What is the A , B arguments???

    Im having the same problem

  • sarmen01 Profile Picture
    2 on at

    I think this might be a new Problem. Im also getting the same problem, but my data is not a null.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard