Forum Discussion

Reino66's avatar
Reino66
New Member
2 years ago
Solved

Overall Percent Complete

I have a data set that roughly looks like this: State Date Percent Complete CT 1/1/2024 25 CT 1/8/2024 40 MA 1/1/2024 50 RI 1/1/2024 10 RI ...
  • lbendlin's avatar
    2 years ago

    Group by State, then aggregate by MAX Percent Complete.  (unless you have scenarios where they modify the percentage down too)

  • Anonymous's avatar
    Anonymous
    2 years ago

    Thanks for the reply from lbendlin , please allow me to provide another insight:

     

    Hi Reino66 ,

     

    You can try formula like below to create measure:

     

    Overall Percent Complete = 
    VAR MaxPercentByState =
        SUMMARIZE(
            'Table',
            'Table'[State],
            "MaxPercent", MAX('Table'[Percent Complete])
        )
    RETURN
        AVERAGEX(MaxPercentByState, [MaxPercent])

     

    Best Regards,
    Adamk Kong

     

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