Trying to get data reporting from variables

not quite working