web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Gallery items not show...
Power Apps
Unanswered

Gallery items not showing on mobile

(0) ShareShare
ReportReport
Posted on by 25

Hello, I have a gallery that does not show the items on mobile. The desktop version works fine, but on mobile I just see a blank screen. The gallery is connected to a sharepoint list and it says that I'm signed in. What could be causing this? 

 
 
 

Thanks!

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @CarlosCalleja 

    What is the Items property of your Gallery?  Chances are that you have some formula with implicit conversions in it (i.e. text to number, etc).  These will notoriously cause issues on mobile devices.

    Check to see if you have any part of your formula in the Items (and possibly other properties that would impact display) that is doing an implied conversion from one data type to another.  Then change them to be declarative.

     

    I hope this is helpful for you.

  • CarlosCalleja Profile Picture
    25 on at

    Thank you Randy, the Items formula is a filter function inside a sort function. 

    I had a huge formula on one of the text boxes, so I removed it and tried again, but I still can't see it.

    The items property contains this:

    CarlosCalleja_0-1606495250035.png 

    All of the variables are defined as text.

    Edit: I see what the problem is, my phone's language is in English, so the _selectedMonth variable doesn't match with anything on my list, which is in spanish. Is there a way to solve this?

     

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

    @CarlosCalleja 

    Very good.. Here is where I would start.

    1) Sort is notoriously an issue on mobile depending on what it is sorting.

    Try changing your formula to SortByColumns:

    SortByColumns(
     Filter(HorariosIniciales,
     EstadoHI=Dropdown6.Selected.Value &&
     MesHI=_selectedMonth &&
     SolicitanteHI=_negocio2
     ),
     "UbicacionHI"
    )

    (Also you will note a few other changes in your original formula in the one above.  Firstly, avoid using SelectedText on dropdowns as it is a deprecated property.  The above assumes that your Items property is Value based.  If not, replace Value with the appropriate column from your Selected item)

     

    2) Start to break apart your formula:

    SortByColumns(
     Filter(HorariosIniciales,
     EstadoHI=Dropdown6.Selected.Value &&
     SolicitanteHI=_negocio2
     ),
     "UbicacionHI"
    )

    Note in the above, the MesHI column was removed from the formula.  Try that, if no joy, put it back and take out one of the others. 

    With this process you are trying to narrow down if one of the values is impacting the problem - either the dropdown value, _selectedMonth, or _negocio2.  If you find that removing one gives you items, then start working your way back from that.  For example, _selectedMonth when removed shows items, then look to see where that is defined and how.  Then start breaking that apart.

  • CarlosCalleja Profile Picture
    25 on at

    Thanks Randy! I followed that process and found that the problem was the _selectedMonth variable, my phone is in english so it takes the month in English but the SP List is in Spanish. Could I maybe use the Text function to change the language?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard