Get SSAS cube last process time

后端 未结 4 836
野的像风
野的像风 2021-01-14 19:17

In Excel I make an Analysis Services connection to a data cube. I would like to be able to show a user how current the data is by showing them when the last cube processing

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-14 20:10

    I actually found a way to do it in Excel without having to create any views or new measures. In Excel 2013, PowerPivot allows you to create your own custom MDX queries against a cube. You can open PowerPivot, make the connection to your cube, paste in the MDX query I used in SSMS to return the cube process time,

    SELECT LAST_DATA_UPDATE FROM $system.mdschema_cubes
    

    and then export this to a pivot table. I did not need to modify anything outside of Excel. Here is a document with step by step procedures.

提交回复
热议问题