Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Guys, 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
Solved! Go to Solution.
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]
)
)
Hey @Anonymous ,
did it work with the measure I proposed?
I'm curious if you could solve this issue 🙂
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]
)
)
Hey @Anonymous ,
did it work with the measure I proposed?
I'm curious if you could solve this issue 🙂
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
30 | |
13 | |
11 | |
9 | |
6 |