cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
haider1
Helper I
Helper I

Show choice column value from another list on display form

Hi,

 

I have 2 lists, I want to display a choice column value called "Status" from list 2 on the label in display form from list 1 .

 

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @haider1,

If this is a form populated with list1, then you could reference to the availability value directly using the "ThisItem.Availability ".

 

Best Regards,
Qi

View solution in original post

6 REPLIES 6
vish3027
Responsive Resident
Responsive Resident

@haider1 You need to work on Items property and DefaultSelectedItems/Default property of dropdown to get value from other list.

It will be conditional as you may need to get particular records status value from another list.

 

DefaultSelectedItems/Default = {Value:"retrieve the value required here"}

 

v-qiaqi-msft
Community Support
Community Support

Hi @haider1,

Have you solved your problem?

Do you want to display choice from another list based on item in the display form?

Could you please tell me that if there is relationship between 2 lists?

 

I assume that both of two lists share a same column, you could retrieve the status value based on this same column in your display form.

Set the Label Text property as below:

LookUp(List2,SameColumn=ThisItem.ColumnName).Status.Value
Best Regards,
Qi

Hi,

 

there is no relationship between the 2 lists, I'm only patching from list1 to list2, the idea is the user has two buttons to select (Yes and No) to confirm his availability inside his flat when he choose yes the status column in list 2 will be updated as "Available" and if he choose No, the status column in list 2 will become "Not Available", so I want to retrieve the value of the status he chooses in my display form of list 1 and based on current login user, that means each user see his availability after he chose yes or No.

Hi @haider1,

What do you mean by "retrieve the value of the status he chooses in my display form of list 1"?

Since you want to update the Status column based on yes/no button, why would you like to retrieve the status value in your display form from list1?

 

Is this display form populated with the list2?

Feel more confused....

Best Regards,
Qi

Hi @v-qiaqi-msft ,

thank you for your reply.

you can see in the attached picture after he chose yes/no, a label must show with his selection Yes=available, No=Not Available, the status column that contains the two choices (Available and Not Available) is in the second list and the attached picture is in the form of the first list, so I want to show the availability value in the form of list 1.Powerapps.png

 

Hi @haider1,

If this is a form populated with list1, then you could reference to the availability value directly using the "ThisItem.Availability ".

 

Best Regards,
Qi

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,836)