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 / Fx column in model dri...
Power Apps
Unanswered

Fx column in model driven app using If statement gives an error

(0) ShareShare
ReportReport
Posted on by 4

I'm trying my first fx columns in a model driven app. The first columns worked fine now I try an if statement with date only fields. I wan to check if a field is blank to decide which value to show in the field. I am sure that the = blank() is wrong but what would be the correct statement to check if a field is empty?

If( 'Extended Warranty' = Blank(), 'Product Warranty Expiry', 'Extended Warranty')
I have the same question (0)
  • LaurenWithers Profile Picture
    82 on at

    You can use The IsBlank function which tests for a blank value or an empty string.

    If( IsBlank( 'Extended Warranty' ), 'Product Warranty Expiry', 'Extended Warranty')

     

    Please thumbs up if it helped or mark as solution if it worked for you 🙂 

  • AxelGsohn Profile Picture
    4 on at

    Hi Lauren,

    thank you for the quick reply. I tried that way also but it always gives me an error. I get the slight feeling that there is something in the environment that is not correct. Just for the record I get the error only when using the blank or IsBlank in a different field I have a if statement and that works.

    The error is one of the brilliant kind: "Something went wrong. Please try again later."

     

  • AxelGsohn Profile Picture
    4 on at

    I found the cause for the error. It was in the field Extend warranty which is using the product warranty in it's formula and that causes the exception.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard