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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Count of rows in each column that reflects the count of another row column data

WhatsApp Image 2021-08-20 at 21.43.21.jpegGuys, I want to create a measure. In the above pic, you can see Sprint number column and category and count(id) column. so the required measure is, for each sprint number I want the total count of category. there you can see for 331 sprint numbers, in category punted issues, issues added, completed issues, issues not completed there are of total count in count(id) column is 11+5+1+14=31. so I need a measure like for 331 there is a total of 31 issues, for next 338 there ---- issues. I need a measure like this .counting of category for each sprint number. Not Only measure . how It can be achieved

2 ACCEPTED SOLUTIONS
selimovd
Super User
Super User

Hey @Anonymous ,

 

from your example I understood that you want the sum of COUNT(ID) by SPRINT_NUMBER, is that right?

The following measure should do that:

Count per Sprint =
CALCULATE(
    SUM( myTable[COUNT(ID)] ),
    ALLEXCEPT(
        myTable,
        myTable[SPRINT_NUMBER]
    )
)

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

View solution in original post

Hey @Anonymous ,

 

did it work with the measure I proposed?

I'm curious if you could solve this issue 🙂

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

View solution in original post

2 REPLIES 2
selimovd
Super User
Super User

Hey @Anonymous ,

 

from your example I understood that you want the sum of COUNT(ID) by SPRINT_NUMBER, is that right?

The following measure should do that:

Count per Sprint =
CALCULATE(
    SUM( myTable[COUNT(ID)] ),
    ALLEXCEPT(
        myTable,
        myTable[SPRINT_NUMBER]
    )
)

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

Hey @Anonymous ,

 

did it work with the measure I proposed?

I'm curious if you could solve this issue 🙂

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.