つもりだったのですが

I was planning to, but

→ 積もり
phrase Rare #22,723
I was planning to, but Expresses an intention or plan that existed in the past, often introducing an explanation or contrast. The subject depends on context.
JA: 昨日は映画を見るつもりだったのですが、仕事が終わりませんでした。
EN: I was planning to watch a movie yesterday, but I couldn't finish work.

私はこれを昨日仕上げるつもりだったのですが、できなかったのです。

I was planning to finish this yesterday, but I couldn't.

昨日あなたをお訪ねするつもりだったのですが。

I had intended to visit you yesterday, but...

釣りに行くつもりだったのですが。

I was planning to go fishing, but...

私は来るつもりだったのですが。

I was planning to come, but...

医者になるつもりだったのですが。

I was planning to become a doctor, but...