I thing you must used Qualify statement in your data model , that is reason AB.A is appearing which sunny is explained you in your previous post .
Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution.
If you want to go quickly, go alone. If you want to go far, go together.