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 / Some formula work only...
Power Apps
Answered

Some formula work only on some PC and Browser

(0) ShareShare
ReportReport
Posted on by 834

Hi All,

having a weird issue where an app is displaying content for me totally correct but on some machines it does not... 

below pictures are even from a machine where in firefox it works (left) but in chromium based browsers it does not... (on mine PC it works even in chromium based...hence i think its not an browser issue)

 

Sifu_0-1606338476518.png

 

the day is currently displayed via:

 

If(Value(ThisItem.DayOfWeekNr)=1,"Mon",If(Value(ThisItem.DayOfWeekNr)=2,"Tue",If(Value(ThisItem.DayOfWeekNr)=3,"Wed",If(Value(ThisItem.DayOfWeekNr)=4,"Thu",If(Value(ThisItem.DayOfWeekNr)=5,"Fri",If(Value(ThisItem.DayOfWeekNr)=6,"Sat","Sun"))))))

 

 i have a column that is looking at date and gives it a number....

before i tried some converting via Text and DDD ...but it was same sh*t

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Sifu 

    You should be pulling the day of the week off of the actual date.

    I see in your gallery you have labels such as 28/11 and 29/11.  I assume they come from a date.  You can use that exact date for a Text function. 

    Ex. If your date column is called WeekDate, then the Text(ThisItem.WeekDate, "ddd") will give you the named day for that date.

     

    I hope this is helpful for you.

  • Sifu Profile Picture
    834 on at

    hi @RandyHayes , thanks for feedbac, this i had before but was doing same ...error... hence i tried something different...but nope, still same

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Sifu 

    Is the date column a real date column?  Usually the issues between browsers and devices has to do with internal conversions.  In other words, PowerApps tries to assume types if it does not know types.  For example, a formula that looks like - "Some value : " & 1  will result in Some Value :  1  In this case PowerApps assumed a conversion to text on the numeric 1.  These type of issues cause problems in play mode and on different devices and browsers.  So, those are the things to check first - is everything the exact type needed.  

    Because, I can assure you that the function is working fine (right now on chromium based browser - checked on multiple machines).

    RandyHayes_0-1606340123678.png

     

    Now, that is not to day that some new issue has cropped up!  That does happen on occasion.  But the above is always good to check through first.

     

  • Sifu Profile Picture
    834 on at

    yes its a date column and the second version of the formula i am using now is not dependent on date... since its just a number zero to 6 i think... and still troubles... if you look again at the picture, you will see that few lines have also background color... at least on the PC where it works...not so much on the other one

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Sifu 

    Yeah, I did notice that in the picture.  I still hold that there is some conversion factor that is causing issues.  It may not be in any way associated with the date formula you are using.  I would say to dig through the other formulas that might be in that Gallery and in the Gallery controls and see if there is some suspect where a conversion would be to blame.

    It's always painful to try and troubleshoot these (mostly because you have to save, publish, switch to another device, rinse and repeat).  Sometimes you need to walk it all the way back by isolating the entire suspected issue into another test app.  Yep, it's a pain, but eventually you run into the culprit.  Even more painful to deal with when on multiple mobile devices.

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard