$args = array(
'profile_group_id' => $current_profile_group_id
$data_groups = BP_XProfile_Group::get( $args );
echo '<p>'.'It looks like you have not given any responses here yet.'.'</p>';
I added a counter var in the loop which initializes to 0 if after passing through the loop its 0 it will execute this.