Power Apps - Fetch Image Property From Multi People Picker Column Based On Dropdown Selection

Scenario

There is a scenario where we need to show the images of persons from multi people picker column in a gallery based on dropdown selection. Multi people picker column behaves as a table data type, so we can’t directly assign the value to image control.

Power Apps - Fetch image property from multi people picker column based on dropdown selection

Workaround

We have used the nested gallery concept to resolve this issue, please find below the steps we followed:

List Structure

The approvers column below is a multi-people picker column.

Power Apps - Fetch image property from multi people picker column based on dropdown selection

Power App

Assign the items property of dropdown control with the country column from the list.

Power Apps - Fetch image property from multi people picker column based on dropdown selection

Add gallery to the screen and bind SharePoint list item to the items property for the gallery based on the dropdown selected value.

Power Apps - Fetch image property from multi people picker column based on dropdown selection

Add another (child) gallery inside the main (parent) gallery and bind multi people picker column to the items property for the child gallery.

Power Apps - Fetch image property from multi people picker column based on dropdown selection

This way, images will change based on the dropdown change.


Similar Articles