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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Reino66
New Member

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

1/8/2024

30

RI

1/15/2024

70

NY

1/1/2024

100

NJ

1/8/2024

20

NJ

1/15/2024

50

DE

1/15/2024

75

 

It is on a sharepoint list being filled via a MS Form.  The states don't always make a report so I need to be able to calculate the overall percent complete of the project based on their highest reported percentage.  The calculation I have now seems to be adding them together (for example CT is added to 65 instead of just using the highest reported 40).  I thought about using latest date, but some states stop reporting once they hit 100.  Thank you in advance.

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

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

View solution in original post

v-kongfanf-msft
Community Support
Community Support

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])

 

vkongfanfmsft_0-1715844041795.png

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.

 

View solution in original post

2 REPLIES 2
v-kongfanf-msft
Community Support
Community Support

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])

 

vkongfanfmsft_0-1715844041795.png

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.

 

lbendlin
Super User
Super User

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.