Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
andy88
Frequent Visitor

Sum of rows from Sharepoint List

Hi, 

 

I am new to PowerBI and wanted to know how to get a sum of the text values of each row from Sharepoint List. 

 

For example, I have a column named Gender and there will be entries of male or female on each row. I need the sum of the number of entries of males and females. 

 

Is there a way to do this? Any help would be great? 

4 REPLIES 4
TomMartens
Super User
Super User

Hey,

 

just drag the gender column to the Value pane of your visual and change the aggregation to Count

image.png

 

Hopefully this gets you started.

 

Regards

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Hey thanks for the quick response.

 

I have a follow up query where we have a column for example Professionality and the entries are rating values from 1 to 5.  

 

Do you know how I can show the count of each quantity of value 1,2,3,etc..

Hi @andy88,

 

Have you solved your problem?

 

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If you need further help, please feel free to ask.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hey,

 

basically it's the same approach change the Aggregation Function from Sum (the default for numerical columns) to count.

 

This has to be done for each visual.

 

You can also consider to create a measure like so

Count Something = 
COUNT('yourtablename'[yourcolumnname])

Regards

Tom

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.