How to see source column names in VS? (SSAS tabular)

mq 6 Reputation points
2021-04-16T10:00:45.303+00:00

I have a cube, where most of the columns have been renamed...

The cube consumes from SQL Server, where columns have names like CustomerName, CustomerNo.

And then... in the cube it has been renamed to Customer.

Now, how can I know if the column Customer belongs to CustomerName or CustomerNo?

(actually I have tried myself renaming a column and there is no way of knowing to which source column it belongs).

(of course I am talking about tables with 50 columns where is not straight forward to map newname:oldname)

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} vote

2 answers

Sort by: Most helpful
  1. Lukas Yu -MSFT 5,826 Reputation points
    2021-04-19T07:43:48.043+00:00

    You could find the Table and Column name for each attribute in SSDT property window, for example

    :88926-image.png


  2. Olaf Helper 47,611 Reputation points
    2021-04-16T10:53:20.887+00:00

    Now, how can I know if the column Customer belongs to CustomerName or CustomerNo?

    In SSDT mark the attribute => Properties => KeyColumns, expand the node and you can see source table & column names.

    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.