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 / Label Text control wor...
Power Apps
Answered

Label Text control works fine in designer, fails in published app

(0) ShareShare
ReportReport
Posted on by

Hello - looking for a solution.

 

We have a pretty basic time keeping app that we trying are to build. It uses Dataverse tables to collect time entries. It is not part of a solution, and it is setup to work offline using an offline profile. There are other screens with a Browse Gallery, a detail form, and a an edit form. These all work perfectly fine. Also should mention that almost all preview and experimental settings for the app are off. Just the few needed for taking the data offline are toggled on.

 

The time entry table has the entry date, and the number of hours on the entry date. On the start screen, I have a drop down that contains a limited range of week ending dates connected to a collection of start/ending dates for the weeks. Under the drop down is a row of text labels - one for each day of the week, and one for a total for the week. The formula for the text label (for a Wednesday in this example is:

 

Sum(Filter('Sitework Times',EntryDate = DateAdd(ddWeek.Selected.Starting,3,TimeUnit.Days)),Hours)

 

This works great when in the designer to show the user a summary of their time for the given week. When the app is published, however, the label text controls are blank. I have tried using the text input control, creating a collection using the same formulas that refreshes when the week changes, putting the formulas in the formulas property, using context variable, and using global variables. No matter what, I cannot get the text label controls to display the formula results in the published app (tested on iPhone and on Samsung Galaxy). All of the other functions work in the published app just as expected. 

 

I have attached screenshot of the app in the designer and on the iPhone. What am I missing? I am guessing it is checkbox somewhere. Or maybe has to do with UTC time versus local time?  

 

 

 

 

On IPhone.png
InDesigner.png
Categories:
I have the same question (0)
  • ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    Hi @vtschu , Even I had similar issue. This is nothing related to your code. If you try the same thing on Android device then it will work. Only this happens with IOS devices. So, as per the suggestion, try to use more darker color. 

    Also make sure that the label display mode is not disabled.

     

    You can have darker color based on Host object. Reference: https://learn.microsoft.com/en-us/power-platform/power-fx/reference/object-host

    Example: On the AppStart, you can have below code:

     

     

     

    If(
     Host.OSType in [
     "macOS",
     "iOS"
     ],
     Set(
     gblvar_IOS,
     true
     ),
     Set(
     gblvar_IOS,
     false
     )
    );

     

     

     

     Then the Color property of label to 

     

     

     

    If(gblvar_IOS, Some very dark color, normal black color)

     

     

     

    This might help you resolve this issue, but if this doesnt resolve then please get in touch with MS support for further help.

     

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    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.👍

    Thanks,
    ANB


  • vtschu Profile Picture
    on at

    Hi ANB - 

     

    Thank you for the prompt reply. I added the host code to OnStart for the app as you have prescribed, and changed the Color property for the Text Label controls to be dependent on the host OS as suggested. I also double checked to be sure the Text Label displaymode was set to "Edit" (I tried "View" as well). I still cannot get the Text Label controls to display the formula results. The controls are also blank on the Android phone and the Power Apps windows application. My conclusion is that there must be a setting somewhere in the publish settings.

     

    I will try to submit this to MS support.

  • Verified answer
    vtschu Profile Picture
    on at

    I just wanted to post an update to this. I did reach out to Microsoft Support. And while it took quite some time of back and forth and sending them the solution, the issue has been resolved. It appears that with an update to Power Apps version 3.24023.8 and above, the functionality seen in the designer now works in the published application.

  • tpoole_310 Profile Picture
    2 on at

    I am still having a similar problem using the latest authoring version (3.24031.16). On an ipad mini running iOS version 17.4 and the current powerapps player. I have both label text and button text (not all of them, just specific ones) that will not load from any datasource using filter, lookup, etc. Hard coded text values are fine. The app works fine on other ipads, browsers, windows player, etc. This appears to be a bug still. 

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 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard