cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Dual Super User II
Dual Super User II

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
Dual Super User II
Dual Super User II

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

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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (85,304)