cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kinghnvn
Helper V
Helper V

Combine multiple rows in Gallery list into a row with the same item name and date

Hi,

 

Could you please help me combine multiple rows in Gallery list into a row with the same item name and date.

 

Two rows:

 

NOV 30 | D 002 | 12:00 PM to 1:15 PM

and

NOV 30 | D 002 | 1:15 PM to 1:45 PM 

 

should be

NOV 30 | D 002 | 12:00 PM to 1:45 PM

 

kinghnvn_0-1638246046281.png


Below is my code.

 

SortByColumns(
Filter(
'Desk Reservations',
'Reserved By'.Email = currentUser.Email && 'Check Out From Number' >= Value(
Text(
Now(),
"yyyymmddhhmm"
)
)
),
"CheckOutFromNumber",
Ascending
)

 

kinghnvn_0-1638198625277.png

 

Upper(Text(DateTimeValue(ThisItem.'Check Out From Text'),"[$-en-US]mmm"))

kinghnvn_0-1638181847260.png

Upper(Text(DateTimeValue(ThisItem.'Check Out To Text'),"[$-en-US]mmm"))

kinghnvn_1-1638181905329.png

Upper(Text(DateTimeValue(ThisItem.'Check Out From Text'),"[$-en-US]dd"))

kinghnvn_2-1638181967894.png

Upper(Text(DateTimeValue(ThisItem.'Check Out To Text'),"[$-en-US]dd"))

kinghnvn_3-1638182028521.png

Text(DateTimeValue(ThisItem.'Check Out From Text'), DateTimeFormat.ShortTime) & " to " & Text(DateTimeValue(ThisItem.'Check Out To Text'), DateTimeFormat.ShortTime)

kinghnvn_4-1638182104540.png

ThisItem.'Desk Text'

kinghnvn_5-1638182316559.png

 

1 REPLY 1
WarrenBelz
Super User
Super User

@kinghnvn ,

Please do not start another post with the same information I am happy to help (as is anyone else) - just answer the questions I asked.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (3,031)