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 / Display different imag...
Power Apps
Unanswered

Display different images on gallery based on option from Microsoft DataVerse

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

 Hey, I have an issue I need help with, 

 

How do I display different images on my gallery using the choice column on Microsoft Dataverse?

 

I use the attached formula on the choice column in SharePoint and it works perfectly

 

But it doesn't seem to work with Microsoft Dataverse

 

I've also attached a photo of what I want to be my result.

 

The highlited part on the attachment is the name of the image

 

@WarrenBelz 

Please help

 

iPhone XR, XS Max, 11 – 1.png
formula.PNG
IT.PNG
Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Option sets don't really have text values like that as they are able to be localized.

    So, you need to check it against the option set type (as it has no Value as seen in your formula).

     

    If you change your formula to the following:

    Switch(ThisItem.'Card Type',
     'Card Type (yourEntity)'.'CITI Bank', 'Group 4',
     'Card Type (yourEntity)'.'GTBank', 'Group 2'
    )

    Change the Card Type (yourEntity) to the appropriate type in your dataverse.

     

    I hope this is helpful for you.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks, @RandyHayes  Apparently this doesn't seem to work. 

     

    Please check the attachments for further understanding

    Poweraps.PNG
    Enitiy name.PNG
    Options.PNG

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard