How to implement goal seek functionality of excel in powerapps?

How to implement goal seek functionality of excel in powerapps?
Oops wrong link, accidentally linked to something that won't really work. You'll have to recreate that in your app, though.