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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
nmck86
Post Patron
Post Patron

Avg Days in Project Process

Hello! I am trying to build a calculation that will give me the avg days between each component of the project process.

For example: In the below excel file I have project ID 1 and I want to konw the avg days between each project status and there are several status levels up until it is in complete. I want to be able to see all those calculations on a bar chart showing the avg. That way if one status is taking longer than others by project we will have that visibility. Also, there are some situations where the status will get flipped back to a previous status and we want to analyze that as well. 

 

Example:

Wappr 5/15/2018

Iniatiated 5/17/2018

2 days in between

Inprogress 6/1/2018

Waitingcont 6/5/2018

4 days in between

Complete 6/10/2018

26 days in between

sample file for project process.png

1 REPLY 1
Phil_Seamark
Microsoft Employee
Microsoft Employee

HI @nmck86

 

This calculated column gets close

 

Column = 
VAR Wappr = 
    MINX(
        FILTER(
            'Table1',
            'Table1'[Project ID] = EARLIER('Table1'[Project ID])
            ),
     'Table1'[Date])
RETURN INT([Date] - Wappr)

To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Helpful resources

Announcements
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.