Hello @pedroccamara,
Thank You for posting your query onto the Forum.
Just a minor change in the formula, instead of hard-coding the Year you can mention the Year column from the dates tables. And at the end you can just replace it with “BLANK()” function or simply write it as 0 if no year is selected. Or else you can also mention that if no year is selected show the default value as “Measure1”.
And another thing is you sure that you want to hard-code the figures because those are just the static numbers. Just few hours back I’ve posted the solution where our member hard-coded the numbers and was not able to slice and dice.
You can just check out the post. Providing the link below for the reference. Hoping your case is absolutely different than the one provided.
Thanks and Warm Regards,
Harsh