Forum Discussion

JoãoRodrigues's avatar
JoãoRodrigues
New Contributor
5 months ago

Set parameter with default year value using "GlobalYear"

I have a parameter for time that acts as the default for all reports.

I'm trying to store in it the year. I want the parameter to take the GlobalYear so that I don't have to change the value manually every year. 

Basically, I'm attempting this: 

But it's not working

  • DanielWillis's avatar
    DanielWillis
    Valued Contributor

    I think your problem might be that you're trying to use a substitution variable GlobalYear but there isn't such a sub var; only GlobalTime. The syntax would have been |GlobalYear|.