cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
johnjohn123
Post Prodigy
Post Prodigy

How i can reset the value inside a Date field + inside Yes/No field based on a dropdown selection

I have 3 columns inside my Canvase form:-

 

1) Request Type >> Drop-down

2) Immediate Access Removal >> Yes/No

3) Last Day work >> date

 

now i want the values of the "Immediate Access Removal" to be set to false + the value of the "Last day work" in-case the selection inside the Request Type does not equal "Removal of Employee".. so i tried the below formulas but they will not reset the values:-

 

r2.pngr1.png

 any advice?

 

4 REPLIES 4
StalinPonnusamy
Community Champion
Community Champion

Hi

 

Toggle control Default property to

If(DataCardValue38.Selected.Value ="Removal of Employee", false, ThisItem.'Immediate Access Removal')

 

Date DefaultDate to

If(DataCardValue38.Selected.Value ="Removal of Employee", Blank(), ThisItem.'Last Day Work')
johnjohn123
Post Prodigy
Post Prodigy

@StalinPonnusamy  still the values will be preserved and will not get re-setted..

StalinPonnusamy
Community Champion
Community Champion

HI @johnjohn123 

 

I retested this functionality

If(DataCardValue38.Selected.Value = "Removal of Employee", false, Parent.Default)

 

In this case Parent.Default is true but changing based on Selection

 

StalinPonnusamy_1-1632433706800.png

 

 

johnjohn123
Post Prodigy
Post Prodigy

@StalinPonnusamy   i did not get your point,, now in my case i am setting the formulas on the Parent cards and not in the child, as shown in the pictures i provided.. any advice?

 

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,652)