@cma1 If you are starting with a Document report, you can add the following text mode grouping to organize the results by Portfolio followed by Program.
group.0.displayname=Portfolio
group.0.valuefield=project:portfolio:name
group.0.valueformat=HTML
group.1.displayname=Program
group.1.valuefield=project:program:name
group.1.valueformat=HTML
textmode=true
If you are starting with a Document Approval report, you have to go through the Document table first, so the text mode for that is below.
textmode=true
group.0.displayname=Portfolio
group.0.valuefield=document:project:portfolio:name
group.0.valueformat=HTML
group.1.valueformat=HTML
group.1.valuefield=document:project:program:name
group.1.displayname=Program