Walmart was a pioneer in the use of analytics to predict supply & demand in the market for a very large number of products. They built in-house systems based on their business & experiential insights - this became a driving force for their business/competitive advantage. They had a better insight into the price, demand, behavior, etc. wrt to the consumer.