The relation between the macroscopic input power required at ASDEX Upgrade to access the H-mode and the microscopic shear has been investigated via fast charge-exchange recombination spectroscopy (CXRS) measurements at various toroidal magnetic fields, different electron densities, and in both hydrogen and deuterium plasmas. For the H-mode onset, a threshold in the minimum, an approximation of the shear, has been found. This identifies and not Er as the important player for the L-H transition. A database of measurements including CXRS, Doppler reflectometry measurements and comparison to neoclassical approximations shows a threshold of (6.7 ± 1.0) km/s ranging over a factor of three in . Using these findings, a simple derivation of the scaling is proposed giving a physics interpretation of the Bt, density and surface dependence of .