Quantcast
Channel: InterWorks
Viewing all articles
Browse latest Browse all 2697

Advance with Assist: What You Need to Know about Aliases

$
0
0
edit aliases in Tableau

Question: I know I’m doing something wrong. When building views, my alias in one view overwrites my alias in another. I know I’m missing something here. Can you fill in what I’m missing?

When building reports, sometimes you need a different header name. Right-clicking the header will sometimes reveal a menu option for Edit Alias:

edit aliases in Tableau

This allows you to create an alias on the report tied to the data source. In this case, we are tying the alias to the measure Discount. We’ll call it Region Discount since I’m building a report for regions:

edit aliases in Tableau
editing aliases in Tableau

Now back to the question at hand. To show what she was seeing, I created another report where I needed the alias to be State Discount. However, when I try to edit the alias here, I see Region Discount in the Edit menu, and not just Discount. This is because you are only allowed to edit the alias once, as it’s tied to the measure here and not the report.

editing aliases in Tableau

If you needed different aliases for different reports, you have a couple options.

Option 1: Duplicating the Measure

Since you are creating another measure, you will have the ability to create a second alias:

editing aliases in Tableau edit aliases in Tableau

Option 2: Spaces in Aliases

Sometimes you need the same alias on multiple measures. Tableau will not allow you to have the same alias on multiple:

editing aliases in Tableau

The way around this message is to add a <space> at the end of the alias. As you can see below, the aliases are the same, but the data is different. The only difference is the space.

creating multiple aliases in Tableau

The post Advance with Assist: What You Need to Know about Aliases appeared first on InterWorks.


Viewing all articles
Browse latest Browse all 2697

Trending Articles