@shirakoresh - Did you check if the ‘month’ field is designated as Dimension in QuickSight? If the ‘month’ field contains numeric values, sometimes QuickSight automatically assign it as Measure due to its numeric metadata. However you can use the “Convert to Dimension” feature to ensure that it is designated as Dimension in QuickSight, which is a pre-requisite for that LAC function to work like the way you are looking for. Hope this helps!
Did my suggestion help you in resolving your query? If yes, would request you to mark the post as “Solution”. This will help the community to find guidance and answers to similar question. Thank you!