QGIS Summing data from a column in attribute table

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I'm working with population data, and I have an issue when it comes to knowing the sum of a population inside the attribute table. 
I'd like to add all the numbers together from the column UN_2015_E. Is there a way to do so?
qgis
add a comment |Â
up vote
1
down vote
favorite
I'm working with population data, and I have an issue when it comes to knowing the sum of a population inside the attribute table. 
I'd like to add all the numbers together from the column UN_2015_E. Is there a way to do so?
qgis
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm working with population data, and I have an issue when it comes to knowing the sum of a population inside the attribute table. 
I'd like to add all the numbers together from the column UN_2015_E. Is there a way to do so?
qgis
I'm working with population data, and I have an issue when it comes to knowing the sum of a population inside the attribute table. 
I'd like to add all the numbers together from the column UN_2015_E. Is there a way to do so?
qgis
qgis
edited 1 hour ago
Vince
14.2k32546
14.2k32546
asked 1 hour ago
Guillaume
323
323
add a comment |Â
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
1
down vote
accepted
An other possibility with the merge tool :


@Guillaume, be careful with aMerge Selected Featurestool since it does not work with points in case you have population data for georeferenced addresses.
â Taras
12 mins ago
add a comment |Â
up vote
4
down vote
Add the statistics panel (view - panels - statistics panel) to your window layout and then let it show you the statistics of your column.
add a comment |Â
up vote
2
down vote
There are several methods that I may refer you to.
- First one is called
"Show statistical summary". Symbolized as a Sigma symbol(
) on the main QGIS working window.

In the appearing window, you just need to choose the layer which you are interested in (population data) and choose the field that you want to explore, seems like "UN_2015_E". The total number will be calculated just in the row called 'Sum'.
The same result can be achieved with View > Statistical summary
Or as it was already mentioned by @Erik you can proceed with View > Panels > Statistics Panel
- There is a plugin called Group Stats, see the image below.

However, I apply this plugin when I require some complicated calculations and do not want to launch Excel, because this plugin provides some output options etc.
- If you open you Attribute table and put the layer in edited mode, then you will be able to type
sum("UN_2015_E")in the Expression dialogue and get the result as an Output preview.
1
To give a complete answer you could add a 4. creating a virtuel layer with the right SQL query give you a table with the sum that you could use in a composer
â J.R
7 mins ago
@J.R, possible! Thank you for a hint
â Taras
5 mins ago
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
An other possibility with the merge tool :


@Guillaume, be careful with aMerge Selected Featurestool since it does not work with points in case you have population data for georeferenced addresses.
â Taras
12 mins ago
add a comment |Â
up vote
1
down vote
accepted
An other possibility with the merge tool :


@Guillaume, be careful with aMerge Selected Featurestool since it does not work with points in case you have population data for georeferenced addresses.
â Taras
12 mins ago
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
An other possibility with the merge tool :


An other possibility with the merge tool :


answered 21 mins ago
Christophe
697311
697311
@Guillaume, be careful with aMerge Selected Featurestool since it does not work with points in case you have population data for georeferenced addresses.
â Taras
12 mins ago
add a comment |Â
@Guillaume, be careful with aMerge Selected Featurestool since it does not work with points in case you have population data for georeferenced addresses.
â Taras
12 mins ago
@Guillaume, be careful with a
Merge Selected Features tool since it does not work with points in case you have population data for georeferenced addresses.â Taras
12 mins ago
@Guillaume, be careful with a
Merge Selected Features tool since it does not work with points in case you have population data for georeferenced addresses.â Taras
12 mins ago
add a comment |Â
up vote
4
down vote
Add the statistics panel (view - panels - statistics panel) to your window layout and then let it show you the statistics of your column.
add a comment |Â
up vote
4
down vote
Add the statistics panel (view - panels - statistics panel) to your window layout and then let it show you the statistics of your column.
add a comment |Â
up vote
4
down vote
up vote
4
down vote
Add the statistics panel (view - panels - statistics panel) to your window layout and then let it show you the statistics of your column.
Add the statistics panel (view - panels - statistics panel) to your window layout and then let it show you the statistics of your column.
answered 1 hour ago
Erik
2,30417
2,30417
add a comment |Â
add a comment |Â
up vote
2
down vote
There are several methods that I may refer you to.
- First one is called
"Show statistical summary". Symbolized as a Sigma symbol(
) on the main QGIS working window.

In the appearing window, you just need to choose the layer which you are interested in (population data) and choose the field that you want to explore, seems like "UN_2015_E". The total number will be calculated just in the row called 'Sum'.
The same result can be achieved with View > Statistical summary
Or as it was already mentioned by @Erik you can proceed with View > Panels > Statistics Panel
- There is a plugin called Group Stats, see the image below.

However, I apply this plugin when I require some complicated calculations and do not want to launch Excel, because this plugin provides some output options etc.
- If you open you Attribute table and put the layer in edited mode, then you will be able to type
sum("UN_2015_E")in the Expression dialogue and get the result as an Output preview.
1
To give a complete answer you could add a 4. creating a virtuel layer with the right SQL query give you a table with the sum that you could use in a composer
â J.R
7 mins ago
@J.R, possible! Thank you for a hint
â Taras
5 mins ago
add a comment |Â
up vote
2
down vote
There are several methods that I may refer you to.
- First one is called
"Show statistical summary". Symbolized as a Sigma symbol(
) on the main QGIS working window.

In the appearing window, you just need to choose the layer which you are interested in (population data) and choose the field that you want to explore, seems like "UN_2015_E". The total number will be calculated just in the row called 'Sum'.
The same result can be achieved with View > Statistical summary
Or as it was already mentioned by @Erik you can proceed with View > Panels > Statistics Panel
- There is a plugin called Group Stats, see the image below.

However, I apply this plugin when I require some complicated calculations and do not want to launch Excel, because this plugin provides some output options etc.
- If you open you Attribute table and put the layer in edited mode, then you will be able to type
sum("UN_2015_E")in the Expression dialogue and get the result as an Output preview.
1
To give a complete answer you could add a 4. creating a virtuel layer with the right SQL query give you a table with the sum that you could use in a composer
â J.R
7 mins ago
@J.R, possible! Thank you for a hint
â Taras
5 mins ago
add a comment |Â
up vote
2
down vote
up vote
2
down vote
There are several methods that I may refer you to.
- First one is called
"Show statistical summary". Symbolized as a Sigma symbol(
) on the main QGIS working window.

In the appearing window, you just need to choose the layer which you are interested in (population data) and choose the field that you want to explore, seems like "UN_2015_E". The total number will be calculated just in the row called 'Sum'.
The same result can be achieved with View > Statistical summary
Or as it was already mentioned by @Erik you can proceed with View > Panels > Statistics Panel
- There is a plugin called Group Stats, see the image below.

However, I apply this plugin when I require some complicated calculations and do not want to launch Excel, because this plugin provides some output options etc.
- If you open you Attribute table and put the layer in edited mode, then you will be able to type
sum("UN_2015_E")in the Expression dialogue and get the result as an Output preview.
There are several methods that I may refer you to.
- First one is called
"Show statistical summary". Symbolized as a Sigma symbol(
) on the main QGIS working window.

In the appearing window, you just need to choose the layer which you are interested in (population data) and choose the field that you want to explore, seems like "UN_2015_E". The total number will be calculated just in the row called 'Sum'.
The same result can be achieved with View > Statistical summary
Or as it was already mentioned by @Erik you can proceed with View > Panels > Statistics Panel
- There is a plugin called Group Stats, see the image below.

However, I apply this plugin when I require some complicated calculations and do not want to launch Excel, because this plugin provides some output options etc.
- If you open you Attribute table and put the layer in edited mode, then you will be able to type
sum("UN_2015_E")in the Expression dialogue and get the result as an Output preview.
edited 11 mins ago
answered 31 mins ago
Taras
1,3461521
1,3461521
1
To give a complete answer you could add a 4. creating a virtuel layer with the right SQL query give you a table with the sum that you could use in a composer
â J.R
7 mins ago
@J.R, possible! Thank you for a hint
â Taras
5 mins ago
add a comment |Â
1
To give a complete answer you could add a 4. creating a virtuel layer with the right SQL query give you a table with the sum that you could use in a composer
â J.R
7 mins ago
@J.R, possible! Thank you for a hint
â Taras
5 mins ago
1
1
To give a complete answer you could add a 4. creating a virtuel layer with the right SQL query give you a table with the sum that you could use in a composer
â J.R
7 mins ago
To give a complete answer you could add a 4. creating a virtuel layer with the right SQL query give you a table with the sum that you could use in a composer
â J.R
7 mins ago
@J.R, possible! Thank you for a hint
â Taras
5 mins ago
@J.R, possible! Thank you for a hint
â Taras
5 mins ago
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f301845%2fqgis-summing-data-from-a-column-in-attribute-table%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
