v3.22.2.2
Derivative financial instruments and hedging activities - Summary of Fair Value Hedges - Assets and Liabilities Designated as hedged Items (Parenthetical) (Detail) - CAD ($)
$ in Millions
Oct. 31, 2022
Oct. 31, 2021
Fair value hedge, Hedged items - Fixed rate assets [member]    
Disclosure of detailed information about hedged items [line items]    
Accumulated amount of fair value hedge adjustments on hedged items ceased to be adjusted for hedging gains/losses $ (486) $ 125
Fair value hedge, Hedged items - Fixed rate liabilities [member]    
Disclosure of detailed information about hedged items [line items]    
Accumulated amount of fair value hedge adjustments on hedged items ceased to be adjusted for hedging gains/losses $ (25) $ (62)