Where is source column in SSAS in visual studio?

Fra1978 126 Reputation points
2021-06-08T09:16:38.06+00:00

I am working in SSAS in a cube. For a specific table with over 100 columns, most of the columns are renamed… How can I know the source column in the SQL table?

I guess this shall be in the properties, but strangely enough, I can’t find it in the properties:

103310-image.png

Where is this information located?

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 41,536 Reputation points
    2021-06-09T02:04:18.3+00:00

    Hi @Fra1978 ,

    It seems that you are using SSAS tabular.

    Please follow below steps to check the columns.

    103675-124.png

    Regards,

    Zoe


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    Hot issues October

    1 person found this answer helpful.

  2. Darren Gosbell 2,376 Reputation points
    2021-06-10T06:06:14.69+00:00

    As @ZoeHui-MSFT has mentioned in VS you have to use the view code option to see this.

    The other option is to use Tabular Editor instead of Visual Studio as this shows you this information as a normal property.

    Or you could use DAX Studio to run a query like the following against your workspace model

    select [TableID], [ExplicitName], [SourceColumn]
    from $system.TMSCHEMA_COLUMNS
    where [Type] = 1

    Unfortunately the DMV query language (DMX) does not support joins so you would have to manually run a SELECT * from $SYSTEM.TMSCHEMA_TABLES and then use something like vlookups in Excel to match the table ID to table names

    1 person found this answer helpful.
    0 comments No comments

  3. Olaf Helper 47,586 Reputation points
    2021-06-08T10:55:12.533+00:00

    You can find the information in dimension - attribute proterties => KeyColumns => Source

    103441-image.png

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.