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

Notifications

Announcements

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

 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

 

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 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
    on at

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

     

    Please check the attachments for further understanding

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard