basic query working on dashboard