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

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Clearing dropdown boxes from datacard from SharePoint List based on user input on another data card

(0) ShareShare
ReportReport
Posted on by
Hi
My data source is from SharePoint List and I have two datacards (DataCardValue59 and DataCardValue60) both getting their data from SharePoint List. Both are dropdown lists.
 
I will select data from DataCardValue59 dropdown and if "Death", DataCardValue60 will be enabled and I will select data from DataCardValue60 dropdown.
 
Here is what I've done:
- DataCardValue59:
  OnChange: Reset(DataCardValue60)
 
- DataCardValue60:
  DisplayMode: If(DataCardValue59.Selected.Value = "Death", DisplayMode.Edit, DisplayMode.Disabled)
 
The problem I have is, after selecting both DataCardValue59 and DataCardValue60, if I go back to DataCardValue59 to select other options which is not "Death", DataCardValue60 does not clear to empty/blank/null/"".
The above works only when Isee this the first time. ie. Data where DataCardValue60 sourced from SharePoint is empty. But once user has saved into SharePoint, its "default value" that Reset() executes will be the last selected data.
 
How can I modify DataCardValue59's OnChange so that it actually modifies DataCardValue60.Selected.Value to be blank/empty/null/"" so that it works for both scenarios (initial and after saved)?
Categories:
I have the same question (0)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 652 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 410 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 236

Last 30 days Overall leaderboard