Does anyone know where is the portfolio rank stored in the Database?
I am not 100% sure, but, do check it within pfm_portfolio or pfm_investment.
if you look at the tech ref, under portfolio entity relationships you'll see two views.
"pfm_portfolio_ranking_v" and "pfm_plan_ranking_v"
cmn_rank_contexts and cmn_instance_rank are where the rank is stored.
Retrieving data ...