Augment prompts with Power Fx expressions

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically Jun 3, 2025 Sep 30, 2025

Business value

Power Fx helps fill some GPT gaps, such as knowledge about the current date, mathematical operations, and counting. You fill these gaps by building expressions with the Power Fx language and adding this context to the prompt with the prompt builder.

Power Fx also helps solve the RAG (Retrieval Augmented Generation) filtering limitations of the prompt builder. Use the Power Fx query language to build complex filters that scope the data to retrieve.

Feature details

You can access the Power Fx designer from prompt builder. Define an expression and name it for inline insertion in the prompt. The prompt dynamically includes information from the expression's execution, enabling more specific responses.

To filter your knowledge, use Power Fx expressions along with the current attribute and value selection. With this approach, you get more control over the data used as the prompt's context.

Geographic areas

Visit the Explore Feature Geography report for Microsoft Azure areas where this feature is planned or available.

Language availability

Visit the Explore Feature Language report for information on this feature's availability.

Add inputs to your prompt (docs)