Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
tinusvantonder
New Member

Get last update dates for all Cubes/Models

Hi All

 

I am busy writing a small monitoring system. I need to extract the last data update date for each cube in an instance. If i do this manually i need to connect to each database/cube and run "SELECT * FROM $system.MDSchema_Cubes" to get the information and coalate the resilt sets. Is there a way to write one query to interigate each database/cube and return one result set?

 

Thanks in advance

1 ACCEPTED SOLUTION

Thanks for the suggestion. Still an issue as I am not able to write a single query that will run through all CUBES and return data for each. I will be using the last modified date in $system.dbschema_catalogs until I have time to rewrite the monitoring logic. 

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

That data is meaningless. It only tells you when the cube was last processed. Instead, find a timestamp in your actual data (for example last order entry date) and present that to the users. 

Thanks for the suggestion. Still an issue as I am not able to write a single query that will run through all CUBES and return data for each. I will be using the last modified date in $system.dbschema_catalogs until I have time to rewrite the monitoring logic. 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors