Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon'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.
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.
Solved! Go to Solution.
Group by State, then aggregate by MAX Percent Complete. (unless you have scenarios where they modify the percentage down too)
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.
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.
Group by State, then aggregate by MAX Percent Complete. (unless you have scenarios where they modify the percentage down too)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
12 | |
11 | |
8 | |
7 | |
7 |
User | Count |
---|---|
20 | |
14 | |
11 | |
10 | |
10 |