Hi @Geral ,
Can you explain what are you intending to calculate?
Lets say if you want to calculate a measure reported in the current Year, then you can use
ifelse( parseInt(activity year)= extract(‘YYYY’,now() ), total ventas, 0)
Thanks,
Prantika