The invention relates to X-ray analytical instruments (RX), more precisely a device for providing a high energy X-ray beam, typically above 4 keV, for X-ray analysis applications. The device comprises an X-ray tube with a turning anode and an X-ray lens for shaping the beam.