The application relates to an X-ray imaging unit for a medical imaging. The unit comprising a rotating part comprising a first X-ray source and an X-ray imaging detector unit configured to provide an image by means of at least a rotational movement (R) around a rotation axis of the rotating part, and an upper shelf for supporting the rotating part. The upper shelf is configured to enable the rotating part to move with respect to the upper shelf by means of a linear movement (L) and to be attached to a column with a pivoting joint for enabling a pivot movement (P) of the upper shelf around the column The rotating part is configured to be positioned by the linear movement and the pivot movement during the imaging