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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.