| | 2017 | | 2016 | | 2015 | | |||
| | S/(000) | | S/(000) | | S/(000) | | |||
Available-for-sale investments: | | | | | | | | | | |
Unrealized gains (losses) on available-for-sale investments | | | 873,868 | | | 554,869 | | | (323,348) | |
Transfer of realized gains on available-for-sale investments to profit or loss, net of realized losses | | | (517,006) | | | (75,444) | | | (191,716) | |
Transfer of impairment losses on available-for-sale investments to profit or loss | | | 766 | | | 14,459 | | | (55,647) | |
Sub total | | | 357,628 | | | 493,884 | | | (570,711) | |
Non-controlling interest | | | 4,120 | | | 1,799 | | | (46,529) | |
Income tax | | | 13,962 | | | 22,975 | | | (18,503) | |
| | | 375,710 | | | 518,658 | | | (635,743) | |
| | | | | | | | | | |
Cash flow hedge: | | | | | | | | | | |
Net (loss) gains on cash flow hedges | | | (59,709) | | | (16,724) | | | 50,273 | |
Transfer of net realized losses (gains) on cash flow hedges to profit or loss | | | 2,278 | | | (3,676) | | | (11,160) | |
Sub total | | | (57,431) | | | (20,400) | | | 39,113 | |
Non-controlling interest | | | (1,219) | | | 585 | | | | |
Income tax | | | (18,719) | | | (2,294) | | | 1,956 | |
| | | (77,369) | | | (22,109) | | | 41,069 | |
| | | | | | | | | | |
Foreign exchange translation: | | | | | | | | | | |
Exchange gains or losses | | | (54,334) | | | (26,448) | | | 270,907 | |
Non-controlling interest | | | 107 | | | (123) | | | | |
| | | (54,227) | | | (26,571) | | | 270,907 | |