Credits and deductions

If you immigrated from the US, for instance, on May 15, 2017...and had $30,000 of US income up til May 15, and no other income...then you have zero Canadian income, and your personal credits will be prorated.