I’m really new to Qlik Sense and am having trouble getting a simple set analysis to work. I have a qvd of transactions that have columns including ‘Amount’ and ‘Actual_Flag’. I want to return the amount where the actual flag is ‘A’ but although the expression is accepted by the expression editor I am getting an invalid dimension indicator.
you say you get "invalid dimension" error, so maybe the problem is somewhere else, because this expression is a measure, not a dimension. Double check other fields in your chart.
Plus, Sunny's and Bill's comments are very true. Your expression as you typed it here contains a typo and field names are case sensitive. In description you say you have fields 'Amount' and 'Actual_Flag' but the expression says AMOUNT and ACTUAL_FLAG. In Qlik this is treated as diffferent columns, so double check field names as well.
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