Greetings,
When creating a graph bar and dividing it over a variable, I cant figure out a way to add in the same graph a bar for the whole dataset. Something like this:
Array


I have tried creating a variable "whole" and use the over two times when generating the graph but that doesnt seem to work.

Code:
gen whole = 1
graph bar una_tic todas_tic, over(area_estudio) over(whole)
Here, una_tic and todas_tic are the variables im interested on taking the mean of. area_estudio is the variable that divides my dataset

Any help is appreciated

Mateo Podesta