Daily DAX : Day 432 INFO.REFRESHPOLICIES

Power BI DAX Function: INFO.REFRESHPOLICIES()

Overview

INFO.REFRESHPOLICIES() is one of the new INFO DAX functions introduced in Power BI's DAX query view (available since late 2023). These INFO functions provide metadata about the semantic model (dataset), similar to Dynamic Management Views (DMVs) in Analysis Services.

Specifically, INFO.REFRESHPOLICIES() returns a table containing information about the incremental refresh policies configured on tables in the current semantic model.

Syntax

INFO.REFRESHPOLICIES()

This function takes no parameters and returns a table with columns detailing the refresh policies (e.g., table ID, policy type, rolling window periods, etc.).

Use Cases

  • Model Documentation: Query and document which tables have incremental refresh policies applied, including details like historical and incremental periods.
  • Auditing and Troubleshooting: Verify incremental refresh configurations in published datasets, especially when diagnosing refresh performance issues or partition problems.
  • Metadata Analysis: Use in DAX queries (via DAX Query View in Power BI Desktop/Service, DAX Studio, or external tools like Excel) to inspect model metadata without needing XMLA endpoint access.
  • Reporting on Model Structure: Build reports or visuals showing refresh policy details across tables in large/complex models.

Example Query

You can run this in DAX Query View or DAX Studio:

EVALUATE INFO.REFRESHPOLICIES()

This will return rows for each table with an incremental refresh policy, including columns such as policy settings, source expressions, and partition details.

Notes

  • Available in Power BI semantic models supporting DAX query view.
  • Part of over 50 INFO functions mapping to TMSCHEMA DMVs.
  • Useful for advanced users managing large datasets with incremental refresh.


Comments

Popular posts from this blog

Daily DAX : Day 131 SELECTEDMEASURE

Daily DAX : Day 446 INFO.CSDLMETADATA

Daily DAX : Day 126 USERPRINCIPALNAME