This content has been marked as final.
Show 2 replies
-
1. Re: ATTR is always giving NULL
Tom WDec 12, 2016 7:53 AM (in response to Arjun Kuntay)
Arjun,
We can't help without a Tableau Packaged Workbook which would allow us to replicate.
-
2. Re: ATTR is always giving NULL
Stephen Rizzo Dec 12, 2016 8:39 AM (in response to Arjun Kuntay)I agree with Tom - a workbook would be helpful. With that said, ATTR() returns * when there are multiple dates, whereas MIN returns the minimum, so the formula in your post should return null whenever you have multiple dates for a category breakout. You are probably trying to do something more like
SUM(IF [Date] = {FIXED : MIN([Date])} THEN [Sales] END)