It is generally possible to have work credited, however, each university or college has its own regulations regarding the crediting of completed work. In each case, the completed work is examined to verify whether it is similar to the content and scope of a module in the new course and can therefore be credited there. As modules are often similar in name, but can vary greatly with regard to content, crediting completed work is always based on an individual, technical review.
The following information provides a rough orientation. The first semesters tend to focus on providing fundamental knowledge. This means that students in different degree programmes often take the same modules, classes and exams. If the desired degree programme and alternative option share modules, there is a high probability that these will be credited, particularly if you transfer courses at the same university or college. It is recommended that you look into this before your degree starts, for example at the ZSB.
Ideally, you would successfully complete as many modules as required to correspond to the scope of a semester. This opens the door to applying for and being admitted to a higher semester.
However, be aware! Admission restrictions for NC degree programmes often also apply to higher semesters. You should therefore consider whether you meet requirements for a transfer. There are also application deadlines for transfers. It is generally only possible to start a degree (first semester; later semesters are excepted) in the winter semester. Students who apply for an education grant (BAföG) can only change degree programmes once and within the first four semesters in order to not lose their right to the grant.
You should also be aware that studying does not count towards waiting time! As such, if you study, this time is not counted when applying (again) for a degree with an NC. If you have very good grades, this aspect is less significant.
You should therefore really consider why you selected your desired degree. What do you want to achieve in your job? Can you only reach your goals with this degree, or would an alternative provide a similar output? Are there other options, such as vocational training, a gap year, or voluntary work, which can be credited as waiting time for a later application, potentially also resulting in a more successful application? The Central Student Advisory (ZSB) can support you here.