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 / 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

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard