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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

How to Calculate % from the data given in a column

I have a column with the status of the actions and want to calculate %action closed, %Action Open, %Action Rejected etc. Somehow, I am unable to calculate it, can anyone help me?

 

Status
Closed
Closed
Submitted
Open
Rejected
Open
1 ACCEPTED SOLUTION
Portrek
Resolver III
Resolver III

Hi SamratQuality

you can use the measure below

Measure = 

var countstatus = COUNT('Table'[Status])
var sumcount = CALCULATE(COUNT('Table'[Status]),ALL('Table'))
return

DIVIDE(countstatus,sumcount)

 

After, you select this measure and press the % buttom

Portrek_0-1626551372180.png

 

If that measure helps you, accept that solution for you post.

 

Best Regards.

View solution in original post

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

You could create a measure as follows:

%percent = DIVIDE(CALCULATE(COUNTROWS('Table'),FILTER(ALL('Table'),[Status]=MAX([Status]))),CALCULATE(COUNT([Status]),ALL('Table')))

The final output is shown below:

vyalanwumsft_0-1626744019354.png

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Jihwan_Kim
Super User
Super User

Picture1.png

 

Percent Status : =
DIVIDE (
COUNTROWS ( Data ),
CALCULATE ( COUNTROWS ( Data ), REMOVEFILTERS ( 'Status'[Status] ) )
)

 

 

Link to the pbix file 

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Portrek
Resolver III
Resolver III

Hi SamratQuality

you can use the measure below

Measure = 

var countstatus = COUNT('Table'[Status])
var sumcount = CALCULATE(COUNT('Table'[Status]),ALL('Table'))
return

DIVIDE(countstatus,sumcount)

 

After, you select this measure and press the % buttom

Portrek_0-1626551372180.png

 

If that measure helps you, accept that solution for you post.

 

Best Regards.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.