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 / Custom text when field...
Power Apps
Unanswered

Custom text when field is blank

(0) ShareShare
ReportReport
Posted on by 125

Hello everyone,

 

I would like to display "Pending Approval" in PowerApps when the status column in SharePoint is empty. How can I do that?

 

Thanks in advance.

Categories:
I have the same question (0)
  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @sr12 ,

     

     

    Please see below 

     

    1. If you want it in gallery 
    
    Label property Text : If(IsBlank(Thisitem.Status),"Pending Approval")
    
    
    2. If the you want it in label 
    
    Label property Text : If(IsBlank(DataSource.StatusColumn),"Pending Approval")

     

    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.

  • sr12 Profile Picture
    125 on at

    @PriyankaGeethik ,

    Thank you for your reply, but now the filled values in the SharePoint are appearing blank in the app when i used your code.

  • Verified answer
    PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @sr12,

     

    In case of filled values you have mention else part in the if.

    May be something like below.

     

    1. If you want it in gallery 
    
    Label property Text : If(IsBlank(Thisitem.Status),"Pending Approval",Thisitem.Status)
    
    
    2. If the you want it in label 
    
    Label property Text : If(IsBlank(DataSource.StatusColumn),"Pending Approval",Thisitem.Status)

     

    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.

     

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