cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

how can I show a specific image of an excel image database?

I need to show an image related to a specific value of a table and when I try to use an excel database with images it does not recognize the images

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @pracmt1515 ,

Could you please share a bit more about your scenario?

Do you store the images files within your Excel table?

Further, do you want to display the corresponding image based on a specific value?

 

Based on the needs that you mentioned, I have made a test on my side, and don't have the issue that you mentioned.

The data structure of my Excel table as below:3.JPG

My App's configuration as below:4.JPG

 

5.JPG

Set the Image property of the Image control to following:

LookUp(Table1, ProductName = TextInput1.Text, Image)

 

Firstly, please make sure that all your images data in your Excel table could be displayed well within your app. You could add a Gallery control within your app, set the Items property to your Excel table, add a Image control within the Gallery, set the Image property to following:

ThisItem.ImageColumn

check if the Image data displayed well in your Gallery.

 

Also please check if you have use a proper column within your Excel table to store the image data. Currently, within Excel table, if you want to store image data, you need to name the column as:

ColumnName [image]

More details about saving image data into a Excel table, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/tutorial-working-with-images-in-excel

 

When you want to display images data from a Excel table, there are some notes you need to know:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/tutorial-working-with-images-in-excel#a...

 

Please take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support
Community Support

Hi @pracmt1515 ,

Could you please share a bit more about your scenario?

Do you store the images files within your Excel table?

Further, do you want to display the corresponding image based on a specific value?

 

Based on the needs that you mentioned, I have made a test on my side, and don't have the issue that you mentioned.

The data structure of my Excel table as below:3.JPG

My App's configuration as below:4.JPG

 

5.JPG

Set the Image property of the Image control to following:

LookUp(Table1, ProductName = TextInput1.Text, Image)

 

Firstly, please make sure that all your images data in your Excel table could be displayed well within your app. You could add a Gallery control within your app, set the Items property to your Excel table, add a Image control within the Gallery, set the Image property to following:

ThisItem.ImageColumn

check if the Image data displayed well in your Gallery.

 

Also please check if you have use a proper column within your Excel table to store the image data. Currently, within Excel table, if you want to store image data, you need to name the column as:

ColumnName [image]

More details about saving image data into a Excel table, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/tutorial-working-with-images-in-excel

 

When you want to display images data from a Excel table, there are some notes you need to know:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/tutorial-working-with-images-in-excel#a...

 

Please take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

thank you so much for your help the mistake that i was making was in the image column.

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Kudoed Authors
Users online (46,845)