There are a lot of blog posts about this function. However, for me the best one was written by Tim Costello. You can find the post here.
ATTR comes from Attribute. An attribute is a specification that defines a property of an object, element, or file. It may also refer to or set the specific value for a given instance of such.
If you take a look for Tableau Online Help, then you can find this definition:
Tableau computes Attribute using the following formula:
IF MIN([dimension]) = MAX([dimension]) THEN MIN([dimension]) ELSE “*” END
I would say this is the main logic of ATTR function. With this formula you can understand how the ATTR function works. In simple words ATTR returns a value if it is unique, else it returns *
Check out this links for mor examples:
It would be gerate if you share your examples of using of ATTR's function.
It's interesting that many of the bloggers to helped clarify a few things for me as well as giving.Most of ideas can be nice content.The people to give them a good shake to get your point and across the command.
AntwortenLöschenTableau Online Training|
R Programming Online Training|
SAS Online Training |