v3.24.3
Derivative financial instruments and hedging activities - Reconciliation of Components of Equity by Hedging Designation (Detail) - CAD ($)
$ in Millions
12 Months Ended
Oct. 31, 2024
Oct. 31, 2023
Oct. 31, 2022
Disclosure of analysis of other comprehensive income by item [line items]      
Balance at the end of the year, Cash Flow Hedges Reserve $ (489) $ 362  
Hedges of net investment in foreign operations [member] | Foreign currency translation reserve [member]      
Disclosure of analysis of other comprehensive income by item [line items]      
Tax on movements on reserves during the period 206 241  
Balance at the end of the year, Foreign currency translation reserves 7,128 6,612 $ 5,688
Hedges of net investment in foreign operations [member] | Foreign currency translation reserve [member] | Foreign exchange denominated debt [Member]      
Disclosure of analysis of other comprehensive income by item [line items]      
Net gain on hedge of net investment in foreign operations (455) (684)  
Hedges of net investment in foreign operations [member] | Foreign currency translation reserve [member] | Forward Foreign Exchange Contracts [Member]      
Disclosure of analysis of other comprehensive income by item [line items]      
Net gain on hedge of net investment in foreign operations (254) (828)  
Hedges of net investment in foreign operations [member] | Foreign currency translation reserve [member] | Foreign currency translation differences for foreign operations [Member]      
Disclosure of analysis of other comprehensive income by item [line items]      
Net gain on hedge of net investment in foreign operations 1,018 2,164  
Hedges of net investment in foreign operations [member] | Foreign currency translation reserve [member] | Reclassification of losses (gains) on foreign currency translation to income [member]      
Disclosure of analysis of other comprehensive income by item [line items]      
Reclassification of losses (gains) on foreign currency translation to income   (160)  
Hedges of net investment in foreign operations [member] | Foreign currency translation reserve [member] | Reclassification of losses (gains) on net investment hedging activities to income [member]      
Disclosure of analysis of other comprehensive income by item [line items]      
Reclassification of losses (gains) on net investment hedging activities to income 1 191  
Cash flow hedges [member] | Cash flow hedge reserve [member]      
Disclosure of analysis of other comprehensive income by item [line items]      
Tax on movements on reserves during the period 204 (249)  
Balance at the end of the year, Cash Flow Hedges Reserve 2,267 2,756 $ 2,394
Cash flow hedges [member] | Cash flow hedge reserve [member] | Interest rate risk [member]      
Disclosure of analysis of other comprehensive income by item [line items]      
Effective portion of changes in fair value (40) 568  
Cash flow hedges [member] | Cash flow hedge reserve [member] | Foreign exchange risk [member]      
Disclosure of analysis of other comprehensive income by item [line items]      
Effective portion of changes in fair value 71 (44)  
Cash flow hedges [member] | Cash flow hedge reserve [member] | Equity price risk [member]      
Disclosure of analysis of other comprehensive income by item [line items]      
Effective portion of changes in fair value 413 (119)  
Cash flow hedges [member] | Cash flow hedge reserve [member] | Ongoing hedges [member] | Interest rate risk [member]      
Disclosure of analysis of other comprehensive income by item [line items]      
Net amount reclassified to profit or loss 134 (377)  
Cash flow hedges [member] | Cash flow hedge reserve [member] | Ongoing hedges [member] | Foreign exchange risk [member]      
Disclosure of analysis of other comprehensive income by item [line items]      
Net amount reclassified to profit or loss (110) 37  
Cash flow hedges [member] | Cash flow hedge reserve [member] | Ongoing hedges [member] | Equity price risk [member]      
Disclosure of analysis of other comprehensive income by item [line items]      
Net amount reclassified to profit or loss (350) 93  
Cash flow hedges [member] | Cash flow hedge reserve [member] | De-designated hedges [member] | Interest rate risk [member]      
Disclosure of analysis of other comprehensive income by item [line items]      
Net amount reclassified to profit or loss $ (811) $ 453