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 / Gallery ThisItem Value...
Power Apps
Unanswered

Gallery ThisItem Value is not the same value as when I go into Edit the Item

(0) ShareShare
ReportReport
Posted on by 920 Super User 2024 Season 1

Hi,

 

Say I have a value like this in myGallery.

 

and text property is this - ThisItem.Status_two.Value

wonka1234_0-1695407947758.png

 

when i click the next arrow to edit i see a different status.

 

wonka1234_1-1695408034160.png

 

How can I ensure these are the same values? 

 

my default property is Parent.Default.

and items property is Choices([@'Data Source'].Status_two)

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @wonka1234 -

     

    1. Are the other DataCards displaying the correct information from the selected record?
    2. What customisations (if any) have you made to the DataCard for the Status_two field?
    3. What do you have in the Item property of the Form?
  • wonka1234 Profile Picture
    920 Super User 2024 Season 1 on at

    @Amik 

     

    1. Others are, but they arent choice fields. Ie a datacard with a text input seems to be displaying the correct value.

    2. only customization is displaymode.view.

    Ahhh u caught me, looks like in the DATACARD I had : 

    LookUp(Choices('Data Source'.Status_two),Value="New Request")

     

    3. Form Item property - LookUp('Data Source',ID=gblRecordID)

     

     

    So Im guessing I need to make this parent.default? 

    Problem is - the first saving of this form should default to "New Request" but after if I want to edit it, the status may have changed, and I dont want it to default to New Request at those times.

  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @wonka1234 - on the DefaultSelectedItems property of the ComboBox, use: 

     

    If(
     'Your Form'.Mode = FormMode.New,
     {Value: "New Request"},
     Parent.Default
    )
    

     

    Do not make any customisations to the DataCard (the parent container holding all of the controls).

  • wonka1234 Profile Picture
    920 Super User 2024 Season 1 on at

    @Amik 

     

    getting this error now - 

     

    wonka1234_0-1695647176270.png

     

     

    and the Default of the parent card  is - ThisItem.Status_two

     

    the Update property of the parent card is -DataCardValue52.Selected

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 547

#2
WarrenBelz Profile Picture

WarrenBelz 444 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 322

Last 30 days Overall leaderboard