I need sum values NOT count values in my bar chart

As mentioned by Ronak Shah in the comments, you need to specify both x and y axis variables to your ggplot by aes(x=CashierName, y=Quantity). If you don’t specify y axis variable, the count of the number of cashiers is displayed by default.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top