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
pbix
Helper III
Helper III

SSAS tabular cube dimension/measure friendly names

Hello,

I'd be grateful for some perspective if anyone has a spare moment.

I've created a tabular model in SSAS/SQL Server 2016. I am connecting to this model via Direct Query. This tabular model has column names like:

SYSTEM_CODE
SYSTEM_VALUE
SYSTEM_REFERENCE
etc...which pull directly from our underlying database tables and views...

I would like to 'translate' these column names into friendly names like:

System Code Number
Current System Value
System Value Reference
Etc... to help users navigate their way around the cube (and to make use of natural language querying, better chart title readability in Power BI).

It there a straightforward way of giving an alias to tabular dimensions/measures without directly renaming the underlying data source structure (like is possible in OLAP cubes) either in Power BI (direct query) or in the tabular cube itself?

Thanks

Pbix
1 ACCEPTED SOLUTION

@pbix personally, I'd use the View method. This method allows any backend developer to determine mappings with ease and implement any changes to fields without impacting the model. (ex. the wrong column was mapped to "Name1", you can swap out the column and "Name1" remains intact from the model perspective.

Also, developers wouldn't need to figure out how to navigate the Tabular model to determine where any mapping/name change occured.

The list goes on, but suffice to say, I agree with you.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

View solution in original post

4 REPLIES 4

@pbix Unless I'm mistaken because of the mode... you should be able to just either double click the column name or right click and change the column name in your tabular model?


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Hi @Seth_C_Bauer,

Thanks for your reply. You're correct. I think I was just hoping for a way of decoupling underlying database table naming conventions from the naming convention exposed to users..

It seems I have three main options:

Rename columns in the tabular model
Create views that include used a friendly naming convention (possibly including spaces [!!!]) or
Create a hack in the .bim to translate English to English

Ideally I'd like developers to see the same columns in the cube as are in the database and cube users/power BI to see 'friendly names' so I might go down the View route unless there is an alternative?

Thanks

Pbix

@pbix personally, I'd use the View method. This method allows any backend developer to determine mappings with ease and implement any changes to fields without impacting the model. (ex. the wrong column was mapped to "Name1", you can swap out the column and "Name1" remains intact from the model perspective.

Also, developers wouldn't need to figure out how to navigate the Tabular model to determine where any mapping/name change occured.

The list goes on, but suffice to say, I agree with you.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Thanks Eno, 

 

Great to get your perspective on this. 

 

Pbix.

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.

Top Solution Authors
Top Kudoed Authors