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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Calculate Column based on different Values

Hello Community,

 

I have a simple table showing the status of either "open" or "closed" in a column labled "status".  Is there a way to have a new column which calculates the % of open and/or closed statuses based on the total?  So for example, if I want to know what % of customer's have an "open" status the answer should be 62.5% (5 open status / 8 total status).  Thank you!

 

calculation.PNG

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

@Anonymous

 

Pls Try this

 

=
DIVIDE (
    CALCULATE ( COUNTROWS ( TableName ), TableName[Status] = "Open" ),
    COUNTROWS ( TableName )
)

View solution in original post

2 REPLIES 2
Zubair_Muhammad
Community Champion
Community Champion

@Anonymous

 

Pls Try this

 

=
DIVIDE (
    CALCULATE ( COUNTROWS ( TableName ), TableName[Status] = "Open" ),
    COUNTROWS ( TableName )
)
Anonymous
Not applicable

Thank you Zubair_Muhammad!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.