Cumulative story points for issues that transition to done status but have different "done statuses"

Hello,

I’m looking to get a cumulative story points resolved line that accounts for issues that move to both done statuses in our sprint. i.e., we have Prod Ready and Done. At present this only accounts for the Done staus and not Prod Ready. Is there a way to do this?