I need to control the color of a traffic light through a conditional statement. The statement has two conditions:
When the color in my data = red as noted by the number 3 I need the following logic to occur: If the color = 3 then calculate the divide the count of only "3's" by the total count of all value.
I am getting caught up with the two conditiona. I can do it of only one occurs, not both
Any help is greatly appreciated.