cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
prathig14
Microsoft
Microsoft

Nested Galleries

Hi All,

 

 

1. Can we select the row in the Nested gallery?

2. Based on the selection of row, can we populate data in the below textboxes?

 

Could you please help me on this?

 

Thanks for your support in advance!!

 

Prathibha

1 ACCEPTED SOLUTION

Accepted Solutions
v-siky-msft
Community Support
Community Support

Hi @prathig14 

Sample data named Countries:

Country

Cities

Germany

City

Population

Hamburg

1760000

Munich

1494000

Italy

City

Population

Rome

2874000

Milan

1344000

If you want to get the Rome row, try this code, the first LookUp funciton is to get the nested table, the second LookUp function is to get the Rome row based on the nested table.

 

LookUp(LookUp(Countries, Country="Italy").Cites,City="Rome")

 

If you want to get the Population of Rome, try this:

LookUp(LookUp(Countries, Country="Italy").Cites,City="Rome").Population

Hope this helps.

Sik

 

 
 

View solution in original post

2 REPLIES 2
v-siky-msft
Community Support
Community Support

Hi @prathig14 

Sample data named Countries:

Country

Cities

Germany

City

Population

Hamburg

1760000

Munich

1494000

Italy

City

Population

Rome

2874000

Milan

1344000

If you want to get the Rome row, try this code, the first LookUp funciton is to get the nested table, the second LookUp function is to get the Rome row based on the nested table.

 

LookUp(LookUp(Countries, Country="Italy").Cites,City="Rome")

 

If you want to get the Population of Rome, try this:

LookUp(LookUp(Countries, Country="Italy").Cites,City="Rome").Population

Hope this helps.

Sik

 

 
 

Thank You Sik. Your solution helped me.

 

 

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 (1,078)