Skip to main content
Post

#PowerPlatformTip 85: 'Delay Output'

#PowerPlatformTip 85: 'Delay Output'

TL;DR: Enable DelayOutput on a Text input control to defer its output while the user types, which can help formulas that depend on that output.

💡 Challenge

Formulas that depend on a text input can recalculate as its value changes. DelayOutput lets the control defer sending its output while the user is typing.

✅ Solution

Set the Text input control’s DelayOutput property to true when formulas should receive its value after the user pauses typing.

🔧 How It’s Done

Here’s how to do it:

  1. Enable Delay Output on the control.
    🔸 Set the DelayOutput property of the TextInput to true.
  2. Use the output in formulas. 🔸 Formulas that use this control’s output receive updates after a pause rather than on each keystroke.

🎉 Result

Formulas that depend on the text input receive its output after a pause rather than on every keystroke.

🌟 Key Advantages

🔸 Fewer intermediate recalculations: Formulas that depend on this output do not receive each keystroke immediately.

🔸 Deferred output: Choose when dependent formulas receive the updated text value.

🎥 Video Tutorial

🛠️ FAQ

1. What does the DelayOutput property do?

It defers the Text input control’s output while the user types. Formulas that depend on that output receive updates after a pause.

2. How do I enable DelayOutput in my app?

Select the Text input control and set its DelayOutput property to true.

3. When does the output update?

The output is deferred while the user types and updates after a pause. Use the control’s value when the user submits the form.

4. Is there a Wait() or Sleep() function in Power Apps?

No. Power Fx rejects both: Wait(1) and Sleep(1000) fail with unknown or unsupported function. DelayOutput is a property of the Text input control, not a function. To run a formula after a fixed delay, use a Timer control: set Duration in milliseconds and put the formula in OnTimerEnd.

🔸 How to Implement OnKeyDown/OnKeyPress Behavior in PowerApps Text Input - the opposite goal, reacting to every keystroke instead of waiting for a pause.

🔸 #PowerPlatformTip 78: ‘Efficient Control Reset’ - another small TextInput-adjacent property change with a real performance payoff.

This tip is by Marcel Lehmann, Microsoft MVP (Business Applications) and founder of the Power Platform Academy, which runs free live workshops (in German). See the next free workshop dates (in German). For companies that want this implemented for them, see KMUpower: Power Platform consulting & automation for SMEs (DACH).

This post is licensed under CC BY 4.0 by the author.

Microsoft and the Power Platform product names (for example Power Apps, Power Automate, Copilot Studio) are trademarks of the Microsoft group of companies. This is an independent website. It is not operated, sponsored or endorsed by Microsoft.