Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Default Value Dropdown

(0) ShareShare
ReportReport
Posted on by 559

Hi All,

I have a gallery where there is a dropdown called In-scope with choices (Yes, No).  When the Phase and Work Product is selected this In-scope must auto populate value as "Yes" in the dropdown. Sometimes the user can also change this value to "NO" if the Phase and Work Product values doesn't match. The issue I am facing now is When the Phase and Work Product is selected the In-scope is populating YES but when the No value is selected it gets saved in the SharePoint but not reflecting the NO value in the gallery. 

The Default Property of the In scope Dropdown is:

If(
!IsBlank(Phaseglrdropdown.Selected.Phase) && !IsBlank(WorkPdtglr.Selected.'Work Product/Process'),
"Yes",

ThisItem.'In-Scope'.Value
)

I have attached the screenshot for the same.

Any help/suggestion on this.

Thanks in advance.

Categories:
  • Sri Profile Picture
    559 on at
    Re: Default Value Dropdown

    @v-hanytian-msft 

    The No value is getting saved in the SharePoint but the saved value is not getting displayed in the gallery if it is No. It is displaying only as Yes even though the saved value is NO

  • v-hanytian-msft Profile Picture
    Microsoft Employee on at
    Re: Default Value Dropdown

    Hi @Uthhra ,

     

    Pease try this:

    If(
    !IsBlank(Phaseglrdropdown.Selected.Phase) && !IsBlank(WorkPdtglr.Selected.'Work Product/Process' && ThisItem.'In-Scope'.Value = "No"),
    "Yes",
    "No"
    )

     

    Hope this will help you,

    Best Regards,
    Tina

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard