cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Is it possible to navigate and update excel using powerapp gallery when using excel as a database

I'm using excel as a data source and as you can see in the attached image,I want user to navigate on LA1,LA2 screens respectively(I have created screens named LA1,LA2) when clicked on gallery arrow icon and then one be able to update respective cells in excel from gallery

1 ACCEPTED SOLUTION

Accepted Solutions
mdevaney
Super User
Super User

@Anonymous 

What is your column name holding the values: LA1? LA2?  I will assume it is called Column_LA.

 

To control which screen the user navigates to put this code in the OnSelect property of the gallery

Switch(
    ThisItem.Column_LA,
   "LA1", Navigate(ScreenLA1),
   "LA2", Navigate(ScreenLA2),
   Navigate(ScreenDefault)
)

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

4 REPLIES 4
mdevaney
Super User
Super User

@Anonymous 

What is your column name holding the values: LA1? LA2?  I will assume it is called Column_LA.

 

To control which screen the user navigates to put this code in the OnSelect property of the gallery

Switch(
    ThisItem.Column_LA,
   "LA1", Navigate(ScreenLA1),
   "LA2", Navigate(ScreenLA2),
   Navigate(ScreenDefault)
)

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Anonymous
Not applicable

My column name is 'Control Number' which holds LA1,LA2 value, Also is it possible to do it via flow without hardcoding it As I want the user to select the screens respectively from gallery. Because I tried using below code it doesnt work, 

 

Switch(
ThisItem.'Control Number',
"LA1", Navigate(LA1),
Navigate(ScreenDefault)
)

 

I'm getting an error on Navigation part

@Anonymous 
You must hardcode it.  There is no way to do this with Flow.

 

If you are getting an error it would be a god idea to share the error message

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Anonymous
Not applicable

Switch(ThisItem.'Control Number',"LA1", Navigate(LA1))

 

This works, have removed Navigate(ScreenDefault) This part.

 

Thanks.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

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.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,410)