Bar Plot by Group

266
1
Jump to solution
05-09-2022 06:24 AM
Ed_
by MVP Regular Contributor
MVP Regular Contributor

Good day all,

Let's say I have three variables Low, Medium and High and I want to create a bar plot for them grouped by City as shown below.

How can I do this?

 

Notes_220509_092139.jpg

0 Kudos
1 Solution

Accepted Solutions
Ed_
by MVP Regular Contributor
MVP Regular Contributor

So the solution is to pivot long those variables into a new `Variable` column and its respective `Value` column and then select `Variable` and `Location` columns for the bar plot.

View solution in original post

0 Kudos
1 Reply
Ed_
by MVP Regular Contributor
MVP Regular Contributor

So the solution is to pivot long those variables into a new `Variable` column and its respective `Value` column and then select `Variable` and `Location` columns for the bar plot.

0 Kudos