fix(ingest/powerbi): derive page and tile chart inputs from report fields
BR
2h ago+723+723+012345678901234567890123456789-81-81-01234567890123456789
Summary
- With
extract_report_field_usage, a page chart lists as inputs only the model tables its fields read, and a tile pinned from a report lists the tables that report's pages read, instead of every table of the model. A table counts when a reference names it even if the field is missing from the schema; a page or tile whose references match no table keeps the whole model and is reported (report_pages_inputs_fallback). - Narrowing applies only to tables this run emitted (no edges to datasets filtered out by
filter_dataset_endorsements). - Independently of the flag: page charts link to their page in Power BI, and untitled tiles are named
Tile <n>by their order in the dashboard's tile list (title only; URNs unchanged). - Unresolved field references are split into table-unknown and field-unknown counters for pages and visuals.
Stack
Part of a stack built on #20842 (Power BI metadata_api_mode: workspace_apis). Merge order:
#20876 → #20877 → #20878 → #20879 → #20880 → #20881 → #20882 → #20883 → #20884 → #20885.
Review this PR's own diff against its base branch; each layer is self-contained and tested on its own.
Checklist
- PR title follows the Conventional Commits format
- Tests added/updated (unit and integration goldens)
- Docs updated (
metadata-ingestion/docs/sources/powerbi/) - No breaking change
🤖 Generated with Claude Code