ちなみに means "by the way", "incidentally": it adds a side detail to what has just been said, on the same subject. It starts a new sentence, and the information after it is extra – useful or interesting, but not the main point.
。、。
He is from Osaka. Incidentally, I'm also from Osaka.
。、。
This shop's ramen is famous. By the way, the gyoza is also delicious.
。、。
The meeting starts at 3. By the way, it's in the conference room on the 5th floor.
ちなみに or ところで
Both are "by the way" in English. leaves the subject and opens a new one; ちなみに stays on the subject and adds to it.
。、。
Tomorrow is a holiday. Incidentally, next Monday is also a holiday.
。、。
Tomorrow is a holiday. By the way, have you handed in your report yet?
- × 明日は祝日です。ちなみに、レポートはもう出しましたか → ところで、レポートはもう出しましたか
Asking a follow-up
In conversation, ちなみに also leads into a question about a detail of what the other person just said. It works in a meeting as well as with friends.
、。
Just so I know, around what time will you arrive?
きごう「。きごう」きごう「、きごう?きごう」
"I bought a new car." "Oh yeah? Just out of interest, how much was it?"