| BUSINESS COMBINATIONS - Fiscal 2018 Acquisitions and Acquisition-related Costs (Details) - USD ($) $ in Thousands | 12 Months Ended | |||
|---|---|---|---|---|
| Apr. 24, 2020 | Jun. 30, 2020 | Jun. 30, 2018 | Jun. 30, 2019 | |
| Business Acquisition | ||||
| Total purchase consideration | $ 11,400 | |||
| Goodwill | $ 2,045,402 | $ 354,698 | $ 2,211,858 | |
| Acquisition-related costs | $ 40,200 | |||
| Product line from Keysight Technologies, Inc. | ||||
| Business Acquisition | ||||
| Total purchase consideration | 12,100 | |||
| Goodwill | $ 5,200 | |||
| X | ||||||||||
| 
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
 | 
| X | ||||||||||
| 
- Definition This element represents acquisition-related costs incurred to effect a business combination which costs have been expensed during the period. Such costs include finder's fees; advisory, legal, accounting, valuation, and other professional or consulting fees; general administrative costs, including the costs of maintaining an internal acquisitions department; and may include costs of registering and issuing debt and equity securities. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Details 
 |