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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors