xbrl calculate last Q