Last refreshed date

The CurrentDate table, as described in the Data Source Parameters section of Chapter 2, Connecting to Sources and Transforming Data with M, contains only one column and one row, representing the date at the time the source M Query was executed. With this date value computed with each dataset refresh and loaded into the Data Model, a DAX Measure can be written to expose the date to the Power BI report visuals. In the following screenshot from the Report View, a measure named Last Refresh Msg uses a DAX variable to reference the parameter table and then passes this variable to a text string:

Last refreshed message via the ...

Get Mastering Microsoft Power BI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.