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 / if one item has value ...
Power Apps
Answered

if one item has value how to have the word In Progress?/

(0) ShareShare
ReportReport
Posted on by 1,994

HI

 

I have a gallery - text box status, I like to auto input as In Progress if the Others have amount?

 

Do I put the text box visible as 

If(Amtbox = Value(Amt.text), 'In progress")  ???

bbsin_0-1623393056859.png

 

Categories:
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @bbsin ,

     

    What is the Amtbox? Is it the status text input box?

     

    If so, please try:

    Set Default of the Amtbox:

    If(Value(ThisItem.Amt.Text) > 0, "In progress", "")

     

     Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • bbsin Profile Picture
    1,994 on at

    hi @v-jefferni 

     

    The status box in SP is a choice field.   and it is inputbox in PowerApps.

     

    Is it like that?  it does not work. Thx

    bbsin_0-1623409549411.png

     

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @bbsin ,

     

    One of the most important points of problems or questions for SharePoint list is column types, things would change a lot when using People or Choice or other special column types. Please provide these important information when you have questions when data source is SP list.

     

    As for your question, the formula should be:

    If(Value(ThisItem.Amt.Text) > 0, LookUp(Choices(SPlist.Status),Value = "In progress").Value, Blank())

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • bbsin Profile Picture
    1,994 on at

    Hi @v-jefferni 

     

    Agreed.  Thanks for the syntax, it works. 🙂

  • bbsin Profile Picture
    1,994 on at

    Hi @v-jefferni 

     

    I have a question, as I have a flow for approval going back end, if I use this code.   it look like it had hardcode the status.

     

    I just want only when other hv amount to display as In Progress.. this is first time, when invoice amount is approved which is another box, it status will change auto from workflow.  

     

  • bbsin Profile Picture
    1,994 on at

    @v-jefferni 

     

    I have a question

    if I use this it is set as a fix it.. 

     

    If(Value(ThisItem.Amt.Text) > 0, "In progress", "")

     

    how to change the states to complete - as the status are link to a flow once approved expected for InterDept Charge and Purchase, I need it be change to complete when it have these two item and there a amount in invoice Amt. but not affecting the approval flow .. 

     

     

    the example status shld be complete as it's interDept charge with amount in the invoice box and complete box 1# should auto update as NA.  Thanks.

    1.PNG

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard