web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Conditional lookup Ima...
Power Apps
Answered

Conditional lookup Image hyperlink from sharepoint list wont appear.

(0) ShareShare
ReportReport
Posted on by 14

Hello!

Newbie here. (Like 5 days old kinnda newbie) I'm trying to display an image from my sharepoint based on 2 dropdown criteria.
grp_drp = Row
stn_drp = Column

the whole area at right is the image control

Linmuel_2-1708785359980.png


I have my sharepoint list: I tried using both image and links (Images are in my sharepoint site document folder)

 

Linmuel_1-1708785142134.png

The Sharepoint Site accessibility setting is shared to everyone including, its files, and folders. So does the App


With hyperlinks, the app works on my end but when I share it with everyone else, the Images won't appear.

Here the code for the image control:

 

 

 

 

If(
 grp_drp.Selected.Value = "Bins",
 LookUp(
 '6S Image Gallery',
 Title = stn_drp.Selected.Value
 ).Bins,
 If(
 grp_drp.Selected.Value = "Tools",
 LookUp(
 '6S Image Gallery',
 Title = stn_drp.Selected.Value
 ).Tools,
 LookUp(
 '6S Image Gallery',
 Title = stn_drp.Selected.Value
 ).Equipment
 )
)

 

 

 

 


With Images, Only the first row images appears on both my end and other users and it takes a bit to load.
This is my code:

 

 

 

 

If(
 grp_drp.Selected.Value = "Bins",
 LookUp(
 '6S Image Gallery',
 Title = stn_drp.Selected.Value
 ).Bins2.Full,
 If(
 grp_drp.Selected.Value = "Tools",
 LookUp(
 '6S Image Gallery',
 Title = stn_drp.Selected.Value
 ).Tools2.Full,
 LookUp(
 '6S Image Gallery',
 Title = stn_drp.Selected.Value
 ).Equipment2.Full
 )
)

 

 


I am aware that my coding is as raw as fresh salmon but this is at the moment my current level of understanding with powerapps. I am looking forward to learning more.

Thanks!

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    156,064 Most Valuable Professional on at

    Hi @Linmuel ,

    There is nothing fundamentally wrong with your code - there are small condensing options, but will not alter the functionality. This may be a bug I have seen before referring to multiple image columns, however try this

    With(
     {
     _Data:
     LookUp(
     '6S Image Gallery',
     Title = stn_drp.Selected.Value
     )
     },
     Switch(
     grp_drp.Selected.Value,
     "Bins",
     _Data.Bins2.Full,
     "Tools",
     _Data.Tools2.Full,
     _Data.Equipment2.Full
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Linmuel Profile Picture
    14 on at

    Thank you for your response! I'll try it once I get the chance!

    Regarding with this "bug" have we identified what's causing it or is there a work around for it?

  • WarrenBelz Profile Picture
    156,064 Most Valuable Professional on at

    Hi @Linmuel ,

    I was mobile when I responded and could not test anything. The "bug" I was referring to was related to patching multiple Image columns which I have seen in a number of posts.

    I have now tested both your code and my version and they both work here (as they should). I hope my version works for you. I noticed that you are running off two different drop-downs in the code - is this correct ?

  • Linmuel Profile Picture
    14 on at

    Yes. 2 dropdowns. One for row and the other is for column. Like I said, I just started using PowerApps and I am basing my formulas from my excel experience. I'm really excited how things are working and I'd really want know more 🙂

  • WarrenBelz Profile Picture
    156,064 Most Valuable Professional on at

    @Linmuel ,

    So does the code I provided work ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 337 Most Valuable Professional

#2
11manish Profile Picture

11manish 173

#3
Valantis Profile Picture

Valantis 86

Last 30 days Overall leaderboard