how to generate a planned vs actual curve basis on duration ?