It creates a Set Analysis expression that you could use in the Ref Line.
For example - I created a gauge that shows Last Year Sales and the REF line shows Sales for current year. I know this isn't the exact example -but it gives you an idea on how you can achieve this.
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.
vinimpedroso do you have a date field in your application? I usually like using Date over using Month and Year field because those alone can cause problem at the turn of an year. MonthYear field can also work if that has been created using Date(MonthStart()) function. I don't usually like MonthName function because it tends to cause issue within set analysis.
Also, it would be helpful to mention the format of the date or MonthYear field you are going to share.