cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Gallery empty on Desktop but working fine on mobile

I made an app to log when a worker arrives to work and when he leaves (punch in - punch out).

To make it more accesible, we have a mobile version with the PowerApps app and a desktop version, as a SharePoint page.

 

The IN and OUT buttons work fine in both versions, but below the buttons I have a gallery that shows the log of the users activity.

That gallery is always empty on the desktop version and I don't know why.

 

I added a photo for reference.

 

The gallery data is filtered using a date picker, on the Items property I have this:

Filter('List1';Title = Username_label.Text && Data = Text(DatePicker1.SelectedDate))

 

This shows the log of that particular user on the day they select.

 

Anotación 2019-09-25 164014.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User
Dual Super User

Re: Gallery empty on Desktop but working fine on mobile

Hey @U_Idigoras 

 

Can you try to update the expression as:
 
Filter('List1';Title = Username_label.Text && Data = Text(DatePicker1.SelectedDate,"dd/mm/yyyy"))
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
Highlighted
Dual Super User
Dual Super User

Re: Gallery empty on Desktop but working fine on mobile

Hey @U_Idigoras 

 

Can you try to update the expression as:
 
Filter('List1';Title = Username_label.Text && Data = Text(DatePicker1.SelectedDate,"dd/mm/yyyy"))
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Highlighted
Helper I
Helper I

Re: Gallery empty on Desktop but working fine on mobile

I already had the Format property of the DatePicker as "dd/mm/yyyy", but I didn't think of the format on the filter.

 

Oh well, thank you so much. I was going crazy.

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (7,284)