Hi Miguel, in latest version they are linked automagically on import/download, otherwise you can link them manually using the context menu (rigtht click).
Addtionally Calendar chart have options to exclude planned already completed from summaries.
On Activities View there is an option to include/exclude at the top of the activities list.
Finally you can use !Planned or !isPlanned in filters.
Hope it helps, Ale.