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 September 15. Request your voucher.

Reply
Anonymous
Not applicable

Get total count of Column and Percentage in Power BI

Dear All.

I am required to Show total number of "issues" based on Sprint6 and status is "Done" .

And show total percantage of for each sprint-5 and sprint6 where status is done.

 

 

SnoIssuesStatusSprint
1768DoneSprint6
2888DoneSprint6
3666QA in ProgressSprint6
4999Deployed in ProdSprint6
5567DoneSprint5
6900DoneSprint5
7100In-ProgressSprint5

 

Thanks & Regards,

SAM_

1 ACCEPTED SOLUTION
AnalyticPulse
Super User
Super User

create a measure for count of Issues in Sprint 6:
Issues in Sprint 6 Done =
CALCULATE(
COUNTROWS('Table'),
'Table'[Sprint] = "Sprint6",
'Table'[Status] = "Done"
)

another measure for percentage for sprint 5 and sprint 6:
Percentage Done =
DIVIDE(
CALCULATE(
COUNTROWS('Table'),
'Table'[Status] = "Done",
'Table'[Sprint] = "Sprint6"
),
CALCULATE(
COUNTROWS('Table'),
'Table'[Sprint] = "Sprint6" || 'Table'[Sprint] = "Sprint5"
)
)

 

 

it will calculate percentage of issues in Sprint 5 and Sprint 6 that are done. put this in chart to see values.

 

 

If this helped, Follow this blog for more insightful information about data analytics
https://analyticpulse.blogspot.com/
https://analyticpulse.blogspot.com/2024/04/commercial-real-estate-portfolio.html

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@Fowmy  & @AnalyticPulse  Thank you both for taking time form your busy schudle and supporting me in getting my solutions.

Fowmy
Super User
Super User

@Anonymous 

Create two measures 

Issues Count = CALCULATE( SUM(Table04[Issues]), Table04[Status] = "Done" )

 

Issues Count % = 
DIVIDE(
    [Issues Count],
    CALCULATE(SUM(Table04[Issues]), ALL(Table04[Status] ))
)

 

Fowmy_0-1712084111778.png

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

AnalyticPulse
Super User
Super User

create a measure for count of Issues in Sprint 6:
Issues in Sprint 6 Done =
CALCULATE(
COUNTROWS('Table'),
'Table'[Sprint] = "Sprint6",
'Table'[Status] = "Done"
)

another measure for percentage for sprint 5 and sprint 6:
Percentage Done =
DIVIDE(
CALCULATE(
COUNTROWS('Table'),
'Table'[Status] = "Done",
'Table'[Sprint] = "Sprint6"
),
CALCULATE(
COUNTROWS('Table'),
'Table'[Sprint] = "Sprint6" || 'Table'[Sprint] = "Sprint5"
)
)

 

 

it will calculate percentage of issues in Sprint 5 and Sprint 6 that are done. put this in chart to see values.

 

 

If this helped, Follow this blog for more insightful information about data analytics
https://analyticpulse.blogspot.com/
https://analyticpulse.blogspot.com/2024/04/commercial-real-estate-portfolio.html

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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