feat(ingest/powerbi): parse report and page filters from report definitions

BR
2d ago
+1800-46

Summary

With extract_report_field_usage:

  • Report-level and page-level filters are parsed from PBIR and the legacy single-file format, with target field, type and a readable condition (In ["CA"], >= 1000, Last 30 days, Top 5 by [Total Premium]).
  • Emitted as a JSON filters list plus filterCount on the report and its pages; every field a filter reads joins the page's inputFields.
  • Conditions are capped (500 chars, In lists at 20 values, 50 filters per property with filtersTruncated). Conditions include the literal values compared against; the docs say so.
  • A report definition that fails to parse is a warning with report_definitions_failed, never a lost report.

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 (behind extract_report_field_usage, default off)

🤖 Generated with Claude Code