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 / Icons Not Appearing on...
Power Apps
Answered

Icons Not Appearing on Mobile device

(0) ShareShare
ReportReport
Posted on by

In my gallery I have circle icon which changes colour depending on another field in my gallery (Membership_End) for whatever reason this icon works perfectly fine on my PC, but when I switch to the mobile device which I hope to run the app on (Samsung

Galaxy tab A 2018), the icon just isn't there. Any help would be greatly appreciated, thanks.

 

Additional info: My datasource is a Cosmos Database that gets saved to a collection which is then used to populate the gallery.

 

Formula in icon (probably not the best but it works)

 

If(
 Value(ThisItem.Membership_End) = 0,
 RGBA(
 0,0,0,0
 ),
 DateValue(ThisItem.Membership_End) < Today(),
 Color.Red,
 DateDiff(
 Today(),
 ThisItem.Membership_End
 ) >= 1 && DateDiff(
 Today(),
 ThisItem.Membership_End
 ) <= 14,
 Color.Orange,
 RGBA(
 0,0,0,0
 )
)

 

 

Icons on PCIcons on PCMobile ViewMobile View

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

    @MathewM Do you run the app using PowerApps App or within the Browser?

  • MathewM Profile Picture
    on at

    @PowerRanger Brower on PC, and App on Mobile 

  • PowerRanger Profile Picture
    3,458 Super User 2024 Season 1 on at

    @MathewM Have you tried to run the app in the browser on the mobile device?

  • MathewM Profile Picture
    on at

    @PowerRanger Just tested and it doesn't show the icon either.

  • PowerRanger Profile Picture
    3,458 Super User 2024 Season 1 on at

    @MathewM Have you just recently added the icons and did not publish the app?

  • MathewM Profile Picture
    on at

    @PowerRanger No, I have definitely published the app. Maybe it has something to do with the way the tablet interprets the date which breaks the formula?

  • PowerRanger Profile Picture
    3,458 Super User 2024 Season 1 on at

    @MathewM could be

     

    DateValue, TimeValue, and DateTimeValue functions in Power Apps - Power Apps | Microsoft Docs

     

    Try with applying a "fixed" Language to DateValue function. e.g."de"

  • MathewM Profile Picture
    on at

    @PowerRanger Thanks for the help, that hasn't fully solved the problem but it's definitely pointed me in the right direction.

  • Verified answer
    MathewM Profile Picture
    on at

    I believe the problem was because of the way my tablet interpreted the date. The formula below appears to work on both browser and mobile app. Yet again, this probably isn't the most efficient solution, but it works. 

     

    If(
     Value(
     DateValue(
     ThisItem.Membership_End,
     "fr"
     )
     ) < Value(Today()),
     Red,
     DateDiff(
     Value(Today()),
     Value(
     DateValue(
     ThisItem.Membership_End,
     "fr"
     )
     )
     ) >= 1 && DateDiff(
     Value(Today()),
     Value(
     DateValue(
     ThisItem.Membership_End,
     "fr"
     )
     )
     ) <= 14,
     Orange,
     RGBA(0,0,0,0
     )
    )

     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard