Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
| ISSUE_KEY | SPRINT_REPORT_STATUS | ISSUE_TYPE_NAME | SPRINT_NAME |
| ABC-74676 | INCOMPLETED | Task | Sprint 208 |
| ABC-74579 | COMPLETED | Story | Sprint 208 |
| ABC-74585 | COMPLETED | Story | Sprint 208 |
| ABC-74415 | COMPLETED | Task | Sprint 208 |
| ABC-74160 | COMPLETED | Task | Sprint 208 |
| ABC-74159 | COMPLETED | Task | Sprint 208 |
| ABC-73181 | COMPLETED | Story | Sprint 208 |
| ABC-73875 | COMPLETED | Story | Sprint 208 |
I have these columns in Sprint Master Table and i am trying to claculate Total Completed.
The query i am using is :
But some how it is considering even Incompleted ones and showing result as 8.
The result is
| ISSUE_KEY | SPRINT_REPORT_STATUS | ISSUE_TYPE_NAME | WORK_UNITS_COMPLETED |
| ABC-74676 | INCOMPLETED | Task | 1 |
| ABC-74579 | COMPLETED | Story | 1 |
| ABC-74585 | COMPLETED | Story | 1 |
| ABC-74415 | COMPLETED | Task | 1 |
| ABC-74160 | COMPLETED | Task | 1 |
| ABC-74159 | COMPLETED | Task | 1 |
| ABC-73181 | COMPLETED | Story | 1 |
| ABC-73875 | COMPLETED | Story | 1 |
Help needed as why Incompleted is also considered when query is correct.
Solved! Go to Solution.
No problem, Please accept my answer as a solution.
Need Power BI consultation, hire me on UpWork .
If the post helps please give a thumbs up
If it solves your issue, please accept it as the solution to help the other members find it more quickly.
Tharun
@JeevanMallya
The code that you have given is DAX, not the m code in power query. To get you expected result, please try this code
WORK_UNITS_COMPLETED = IF(Sprint_Master[SPRINT_REPORT_STATUS]="COMPLETED" && (Sprint_Master[ISSUE_TYPE_NAME]="Story" || Sprint_Master[ISSUE_TYPE_NAME]="Task" ) , CALCULATE(Count(Sprint_Master[ISSUE_KEY])))
Need Power BI consultation, hire me on UpWork .
If the post helps please give a thumbs up
If it solves your issue, please accept it as the solution to help the other members find it more quickly.
Tharun
Thank you very much
No problem, Please accept my answer as a solution.
Need Power BI consultation, hire me on UpWork .
If the post helps please give a thumbs up
If it solves your issue, please accept it as the solution to help the other members find it more quickly.
Tharun
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |