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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (1,784)