Hi,
I want to make a table.
I have a dataset containing sum of sales on different locations in different points of time.
The table i want to make is a table that shows the percentage sales of total sales in that given year on each location.
what i have tried to do is to devide my "sum of sales in each location in that given year" on "sum of sales on all locations" and then write
table location year (and then the variable i was telling you about above here)
what i then get is a table with a lot of 1 values and the percentages on the top of the table. i want it to show the locations to the left side of the table, year at the top and then in the table show the percentages that i know is in my dataset from the variables i have created.
do someone know how i can make this work?
Related Posts with table
Changing data structure (Expanding observations) with previous valueDear all, Thanks in advance for any suggestions and supports! I am currently working on a dataset w…
How to deal with pooled cross-section data?Dear all, I wish to examine life satisfaction at the individual level for a specific country. The …
scatter with dividing vertical lineDear Statalist Members, I have the log wages data below for States in the the North and Southern pa…
cmp command, When we use cmp for multivariate ordered probit model?Great day, When we use cmp for multivariate ordered probit model? My dissertation about adaptation …
Changing data structure (Expanding observations) with previous valueDear all, Thanks in advance for any suggestions and supports! I am currently working on a dataset w…
Subscribe to:
Post Comments (Atom)
0 Response to table
Post a Comment