Forum Discussion
mussol_
8 years agoAdvocate II
reuse variables
Hi all! My question is very simple: Can I reuse variables I created in another mesure? If answer is "yes", how can I do this? Many thanks in advance! Josep.
- 8 years ago
No, you would want to create measures for each variable, then they are reuseable but variables within a measure only have local scope of the measure they are in.
Anonymous
8 years agoNot applicable
As far as I know, you can't use a variable declared within a measure with VAR anywhere else. If you need to reuse that data, consider making that variable into a standalone measure.
Although, I would be curious if it's possible to implement similar behavior as to what happens when you use a dot operator after a date.