Can we create a variable in Alteryx like an SQL local variable that can be created using set statement ?
For example
Set @last_end_dt = isnull((Select Max(end_dt) From Customer), '2016-03-31')
and this variable has usage in another formula
set @end_year = (select fiscalyear from dimDate where FullDateAlternateKey = DATEADD(DAY,28,@last_end_dt))
I want to create these variables so that i can use them in any part of the workflow
Is there any way to do it ?