Can someone please explain the ATTR Function in Tableau

Aman Sheriff picture Aman Sheriff · Dec 22, 2015 · Viewed 9.1k times · Source

I know that the ATTR function is used for aggregation, but can someone explain it in simple terms?

Answer

Bernardo picture Bernardo · Dec 22, 2015

In the most simplest of terms, ATTR returns a value if it is unique, otherwise it returns "*". I think you'll find this link helpful with examples.

https://www.interworks.com/blog/tcostello/2014/05/15/attr-tableaus-attribute-function-explained