SSAS Tabular Row Count from SSMS

  • Is there a quick way to determine the number of rows in a Tabular table from SSMS? I'm wondering if there is something similar to when you right-click on a "regular" table and get the row count from Properties.

  • imani_technology (9/22/2016)


    Is there a quick way to determine the number of rows in a Tabular table from SSMS? I'm wondering if there is something similar to when you right-click on a "regular" table and get the row count from Properties.

    Not in the way you can with a SQL table (right click etc.).

    But you can run this query against the SSAS instance:

    SELECT

    DISTINCT

    [CATALOG_NAME] as [Database],

    [CUBE_NAME],

    DIMENSION_CAPTION AS [Dimension],

    DIMENSION_CARDINALITY AS [Count]

    FROM $system.MDSchema_Dimensions

    WHERE DIMENSION_CAPTION <> 'Measures'

    ORDER BY CUBE_NAME


    I'm on LinkedIn

  • This is excellent, thanks!

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply