Combined distance sessions possible?

I’ve noticed that when I go into Zwift and get myself some 45km and then join an event (race or ride), those 45km aren’t passed on to my strava. Only the event’s Km /Mileage.

Why is that?
Is this supposed to happen or am I doing something wrong?