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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (1,532)