Hi All
I want to use following formula
Attr([Temp])
Where [Temp ] is a aggregate variable means its definition is:
if max([Last3Month])=(min([Last3Month]))
then [Id] end
so it is not allowing me to use Attr
please share your thoughts on this
Thanks
Ghanshyam
1 answer

Hello Ghanshyam,
The issue you are having is [temp] is itself an aggregate function. Tableau does not allow you to do an aggregate of an aggregate at a row level.
You can, however, apply window functions to aggregates, as these are applied after row level calculations are evaluated.
Are you able to attach an example workbook? I would be more than happy to help you with your requirement, and see if there is an alternative method to achieving it.
Regards,
Rody