I have never done the Viking transfer Bergen to Oslo, but I do not think it includes the side trip to Flam. The train ride itself spends about 3 hours in magnificent scenery (Bergen - Geilo), but after that it is less spectacular. Personally, I would do the transfer on my own, including an overnight in Flam. A TA can arrange it, including forwarding your heavy luggage from Bergen to your hotel in Oslo. Hope this info in helpful.