This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Dear all,
how do I filter a DAX statement with Power BI REST API (Execute Queries), when the filter is a string value?
Something like this works
FILTER ('table', 'table'[column] = FIRSTNONBLANK('table'[column], 'table'[column]))
Something like this does not (and this is what I want to make work).
I guess, it is only about formating, since the " related to the filter value are understood as end of the JSON value from the PowerBI REST API
FILTER ('table', 'table'[columnArea] = "value")
Thanks for any support!
Solved! Go to Solution.
We had to use a delimator to escape the quotes. Ours is slightly different because we used to ExecuteQuery function in the request and did not have to use the single quotes for the table/columns, but for the = "value" portion ours looked something like:
= \"value\"
You are right! That worked. Thanks for the solution!
We had to use a delimator to escape the quotes. Ours is slightly different because we used to ExecuteQuery function in the request and did not have to use the single quotes for the table/columns, but for the = "value" portion ours looked something like:
= \"value\"
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |