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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Ykankam
Helper I
Helper I

undefined

How to calculate project progress using start date and end date

1 ACCEPTED SOLUTION

Hi, @Ykankam 

Please try formulas like:

Percentage% =
VAR a =
    CALCULATE (
        COUNTROWS ( 'Table' ),
        FILTER ( 'Table', 'Table'[Project] = EARLIER ( 'Table'[Project] ) )
    )
VAR b =
    CALCULATE (
        COUNTROWS ( 'Table' ),
        FILTER (
            'Table',
            'Table'[Project] = EARLIER ( 'Table'[Project] )
                && 'Table'[Due Status] = "Not Overdue"
        )
    )
RETURN
    b / a

or measure

Percentage1% = 
VAR a =
    CALCULATE (
        COUNTROWS ( 'Table' ),
        FILTER ( ALLSELECTED('Table'), 'Table'[Project] = max( 'Table'[Project] ) )
    )
VAR b =
    CALCULATE (
        COUNTROWS ( 'Table' ),
        FILTER (
            ALLSELECTED('Table'),
            'Table'[Project] = MAX( 'Table'[Project] )
                && 'Table'[Due Status] = "Not Overdue"
        )
    )
RETURN
    b/a+0

If it doesn't work, please share a sample file and expected result for further research.

Best Regards,
Community Support Team _ Eason

 

View solution in original post

4 REPLIES 4
Ykankam
Helper I
Helper I

Ykankam_0-1658322819040.png

From the image above. I have a list of projects with start date and end date. Each project has a status.

Now I want a column that will calculate the aggregated completion rate(percentage) for each project base on the start date and end date.

Hi, @Ykankam 

Please try formulas like:

Percentage% =
VAR a =
    CALCULATE (
        COUNTROWS ( 'Table' ),
        FILTER ( 'Table', 'Table'[Project] = EARLIER ( 'Table'[Project] ) )
    )
VAR b =
    CALCULATE (
        COUNTROWS ( 'Table' ),
        FILTER (
            'Table',
            'Table'[Project] = EARLIER ( 'Table'[Project] )
                && 'Table'[Due Status] = "Not Overdue"
        )
    )
RETURN
    b / a

or measure

Percentage1% = 
VAR a =
    CALCULATE (
        COUNTROWS ( 'Table' ),
        FILTER ( ALLSELECTED('Table'), 'Table'[Project] = max( 'Table'[Project] ) )
    )
VAR b =
    CALCULATE (
        COUNTROWS ( 'Table' ),
        FILTER (
            ALLSELECTED('Table'),
            'Table'[Project] = MAX( 'Table'[Project] )
                && 'Table'[Due Status] = "Not Overdue"
        )
    )
RETURN
    b/a+0

If it doesn't work, please share a sample file and expected result for further research.

Best Regards,
Community Support Team _ Eason

 

@v-easonf-msft @VahidDM  thank you both. It worked.

 

How do create a dax formula to show all projects startinng next month and another one to show all projects ending this month?

VahidDM
Super User
Super User

@Ykankam 

 

Your question is general without any details, check these links and add more details:
 https://community.powerbi.com/t5/Desktop/Progress-Tracker/m-p/1250192

https://community.powerbi.com/t5/Desktop/Create-Progress-Tacker/m-p/2184039

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos!! 

VahidDM_0-1658322134863.jpeg

 

LinkedIn | Twitter | Blog | YouTube 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.