Medium severitydata flow
Power BI Refresh Error:
DF-Executor-StringValueNotInQuotes
What does this error mean?
A string literal in a data flow expression is not enclosed in single quotes. ADF's expression language requires all string constants to be single-quoted — an unquoted word in a Derived Column, filter, or join condition is interpreted as a column reference rather than a string value, causing this parse error.
Common causes
- 1A string constant in a filter or Derived Column expression is written without quotes — for example, `status == active` instead of `status == 'active'`
- 2An expression was copied from a tool or language that uses double quotes (Python, SQL, JavaScript) and the quotes were not converted to single quotes for ADF expression syntax
- 3A pipeline parameter is interpolated into an expression string in a way that produces a bare word when the parameter value contains certain characters
- 4A conditional expression compares a column against a hardcoded value that was typed without quotes in the ADF expression builder
How to fix it
- 1Open the failing expression in the ADF data flow expression builder and locate the string literal that is missing its surrounding single quotes.
- 2In ADF data flow expressions, string literals must be enclosed in single quotes — for example, use `'active'` not `active`.
- 3If the string value is sourced from a pipeline parameter, verify the parameter is passed as a string type and the expression wraps it correctly.
- 4Use the expression builder 'Refresh' button to validate the expression syntax before saving.
- 5Enable debug mode to step through the failing transformation and confirm the expression evaluates correctly with actual data.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/data-flow-troubleshoot-guide