Forum Discussion

amaoa's avatar
amaoa
Icon for Helper II rankHelper II
6 years ago
Solved

How to show Late task, Overdue task & ontrack task count in Power BI with Visuals

Hello All, I am new to power bi and geting data from Project Online. Could you suggest ways I can show the COUNT of late task, overdue task and ontrack task from the data below? Any visuals that hav...
  • v-xicai's avatar
    6 years ago

    Hi amaoa ,

     

    You may create measure like DAX below.

     

    Overdue Task =
    CALCULATE (
        SUMX (
            Table1,
            IF (
                MAX ( [Finish Date] ) < TODAY ()
                    && MAX ( [% Comp] ) <> 100
                    && ( MAX ( [Finish Date] ) <> BLANK () ),
                1,
                0
            )
        )
    )
    

     

    If I misunderstood it, you may clarify which situation will be marked as "Overdue Task" , "Ontrack Task" and  "Late task" based on your data table. See the similar case: Counts in a period of time.

     

    Best Regards,

    Amy 

     

    Community Support Team _ Amy

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