I am a Canadian Citizen, who lived and worked in Switzerland for a full year. During that time, my only source of income was the company I was working for there. Swiss government deducted a particular percentage of my income as tax. Let's say that deduction was %x of my net salary. So, how much that deducted amount should be so that Canadian revenue agency does not deduct anything from my money once I declare my foreign income?
(I just tried to check the CRA webpage, but I could not infer the answer to my question.)
Edit: Here are the answers to the comment's questions.
When did you arrive and when did you leave?
I just lived in Switzerland there during 2020.
Did you always intend to return to Canada so quickly?
Did you make attempts to fully cut ties with Canada, like by selling a house etc.?
Are you sure Switzerland considered you a resident for tax purposes?
Yes. I have tax deductions cited in my salary certificate issued by the Swiss body.
Whether Canada considered you a resident for tax purposes could change based on all of this. If you weren't a resident for tax purposes [not always an easy thing to know for certain depending on circumstances] you might not need to file a tax return in Canada at all for those years.
Do the answers to the questions above bring any conclusion?