find_textbox_by_value
Search for textboxes matching a regex pattern in Power BI Report Builder .rdl files. Use to locate stale parameter references or cross-cutting expression edits.
Instructions
Find every Textbox whose text matches a Python regex pattern. Searches Body / PageHeader / PageFooter. A textbox with multiple matching runs surfaces once per match. Returns [{textbox, value, region}]. Useful for finding stale =Parameters!Old.Value references after rename_parameter, or any cross-cutting expression edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| pattern | Yes | Python regex (re.search); not RDL/SQL glob. |