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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
SAM_
New Member

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
Skilled Sharer
Skilled Sharer

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
SAM_
New Member

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

Fowmy
Super User
Super User

@SAM_ 

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
Skilled Sharer
Skilled Sharer

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.