どこだったか

where it was

→ どこ
phrase Very common #1,683
where it was Used when recalling or asking about a past location; か can make the question indirect.
JA: あの店、どこだったか覚えてる?
EN: Do you remember where that shop was?

俺のオリジナルの残りはどこだったかな

Where did I leave the rest of my original?

— イノセンス (2004)

初めてトムと会った場所がどこだったか、覚えてないんだ。

I don't remember where I first met Tom.

どこだったかな

Where was it again?

— 最強のふたり (2011)

もう、どこだったか忘れたよ。

I've already forgotten where it was.

どこだったか…

Where was it again…?

— ファニーゲーム (1997)

彼にどこかで会ったことがあるかもしれないが、どこだったか思い出せない。

I may have met him somewhere before, but I can't remember where.