Have you tried to use the | appendcols function? or Just append ?
Your search here
| appendcols [ | search your search here earliest=-2d latest=-1d
| stats count as yesterday by Port ]
| stats count as today, sum(yesterday) as yesterday by Port
| eval date="newer"
| append [ | search <your search> " earliest=-2d latest=-1d
| eval date="older"
| stats count by Port date ]
| stats count by Port date