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

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

Reply
sophie23
Frequent Visitor

How to Get Value Percentage based on Criteria in Table?

I have an a Powerbi Table showing a criteria if a phase has been started on time or delayed.

sophie23_0-1625197618690.png

This is based on an additional column that shows "Not started" "On time" or "Delayed" based on the planned and actual dates.

sophie23_1-1625197703250.png

Help needed: Can someone help guide me on how I can get the percentage of the values in each criteria (depending on whether they not started, on time, or delayed)?

 

For example, the result I want to see is:

 

Out of the 10 projects,

78% of the project phases is not started

22% are on time

0% are delayed

 

Appreciate your inputs 🙂

1 REPLY 1
SanketBhagwat
Solution Sage
Solution Sage

Hi @sophie23 .

Based on what I understood from your query, please follow the below steps in order to achieve that functionality.

 

1)Calculate Total Conditions using COUNT.

Total=COUNT(Table(Column))

 

 

2)Then calculate Count of specific criteria;

For example,
i)CountOfNotStarted=CALCULATE(COUNT(StartDate),filter(table,StartDate="Not Started")

ii)CountOfOnTime=CALCULATE(COUNT(StartDate),filter(table,StartDate="On time")

iii)CountOfDelayed=CALCULATE(COUNT(StartDate),filter(table,StartDate="Delayed").

 

3)Then use DIVIDE to calculate percentage.

i)%NotStarted=DIVIDE(Total,CountOfNotStarted).

ii)%OnTime=DIVIDE(Total,%OnTime).

iii)%Delayed=DIVIDE(Delayed,%Delayed).

 

4)In Measure tools, change its display type to %.

 

If this is what you are looking for, then please mark it as 'Accept as Solution' so that others could find it easily.

 

Regards,

Sanket Bhagwat.

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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