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 / Labels and control bas...
Power Apps
Answered

Labels and control based on datacardvalue not updating

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi there,

 

In my app people fill in a survey. The survey has multiple screens. It is necessary that the people fill in all required fields. Every screen has an editform linked to a SP online list. When all fields in the Editform are filled in a label shows the text "Completed". When one of more fields are empty, the label shows the text "Uncompleted". This is done by a formula. The formula works brilliantly. 

 

Capture.JPG

 

My issue is this. For example, when all fields except DataCArdValue41 is filled in the label sais "Uncompleted" as expected. When the DataCardValue has been filled in, the label does not always update automatically. Not always means that on screen 1 this goes as expected, Screen 2 not.  When I change the formula in Screen 2, for example change Complete to Very Complete, the label shows the expected value immediate. 

 

I think this is non logical behaviour. Does anyone have an idea how this is possible or what reasons there may be for this to happen?

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Could you please share a bit more about the issue within your app?

     

    Based on the formula you provided, I think there may have something issue with it. Please consider modify your formula as below:

    If(
     DataCardValue114.Selected.Value = "Aluminium" && !IsBlank(DataCardValue33.Selected.Value) && !IsBlank(DataCardValue34.Text) && !IsBlank(DataCardValue35.Text) && !IsBlank(DataCardValue39.Text) && !IsBlank(DataCardValue40.Text) && !IsBlank(DataCardValue41.Text) && !IsBlank(DataCardValue42.Text),
     "Complete",
     "Uncomplete"
    )

     

    In addition, as an easy solution, I think the Valid property of the Edit form could achieve your needs. On your side, you could consider Unlock the Required/Mandatory fields data cards within your multiple Edit forms, then set the Required property of the these Data cards to true.

    After that, modify your formula as below:

    If(
     DataCardValue114.Selected.Value = "Aluminium" && EditForm1.Valid && EditForm2.Valid && EditForm3.Valid && ...,
     "Complete",
     "Uncomplete"
    )

    Please consider take a try with above solution, then check if the issue is solved.

     

    Also please check the response within the following thread would help in your scenario:

    https://powerusers.microsoft.com/t5/Creating-Apps/Referring-to-multiple-data-cards/m-p/331100#M12300

     

    Best regards,

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-xida-msft ,

     

    Thank you for your answer. Absolutely a good idea.

    Only thing is that every screen (editform) has often a dropdown box. And depending on the choice that's made in the box, other fields must be filled in and others not. It is possible with the Valid function. but then its necessary that all required fields have the same 'if then' statements.

     

    I don't know if its  a temporary fix, but I replaced the label. First it was outside the form, now it is one of the datacards.

    Ik works again.

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard