Your language is confusing because you intermingle "investment" with "loan". You are supposed to report loans and investments when they are closed or funded. However, during a CRA PE you can get credit for a commitment that was not funded during the PE period if it is a legally binding commitment.
Your wording suggests that you may be participating in a line of credit facility extended to a local entity such as a housing development fund. If you made a formal commitment for a line of credit facility the commitment can be reported as a CD loan in its entirety when you make the commitment and whenever you renew it subject to the once per year rule.
_________________________
CRA Exam Preparation, CRA Performance Evaluations, Key Performance Benchmarks, & maps