Walmart is bringing in younger and higher income shoppers

But the retailer is losing to Amazon when it comes to other demographics