Point in time Help

    Here is the Prior Year sample App I'm struggling with. Can you help fix the app so that i get proper results in the table?

     

    Thank you in advance....