- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Analyze Performance Drop From Selected Period Compare to Previous
Dear Community,
I have a trend that shows every project KPI performance like below.
My idea is to find a strange KPI behavior in time so I need 2 measures:
1. To find if a project has ever had a drop over 30% in a period of a month compared to the previous available month.
2. After filtering a month to be able to see if a project has ever had a drop over 30% compared to the previous available month.
The problem is that periods may vary and each month is not always available for a project.
I hope to use that logic to add different info in the future like "What was the project name that had the drop", "What was the month when the drop happened", "What was the exact deviation", etc.
Thank you very much for any help!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @Anonymous ,
Try the following formula:
% Compare to Previous =
var Pre_AV_M =
MAXX(
FILTER(
ALL('Table'),
'Table'[ProjectID] = MAX('Table'[ProjectID])
&& 'Table'[MonthNum] < MAX('Table'[MonthNum])
),
'Table'[MonthNum]
)
var Pre_Value =
CALCULATE(
SUM('Table'[KPI]),
FILTER(
ALL('Table'),
'Table'[ProjectID] = MAX('Table'[ProjectID])
&& 'Table'[MonthNum] = Pre_AV_M
)
)
return
IF(
Pre_Value <> BLANK(),
DIVIDE(
SUM('Table'[KPI]),
Pre_Value
) - 1
)
Over30% ID Count =
CALCULATE(
DISTINCTCOUNT('Table'[ProjectID]),
FILTER(
ALLEXCEPT( 'Table', 'Table'[Date], 'Table'[ProjectID] ),
[% Compare to Previous] < -0.3
)
)
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@m3tr01d I will create one for sure. Just started establishing the approach. Have never done such calculations and stuck on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @Anonymous ,
Try the following formula:
% Compare to Previous =
var Pre_AV_M =
MAXX(
FILTER(
ALL('Table'),
'Table'[ProjectID] = MAX('Table'[ProjectID])
&& 'Table'[MonthNum] < MAX('Table'[MonthNum])
),
'Table'[MonthNum]
)
var Pre_Value =
CALCULATE(
SUM('Table'[KPI]),
FILTER(
ALL('Table'),
'Table'[ProjectID] = MAX('Table'[ProjectID])
&& 'Table'[MonthNum] = Pre_AV_M
)
)
return
IF(
Pre_Value <> BLANK(),
DIVIDE(
SUM('Table'[KPI]),
Pre_Value
) - 1
)
Over30% ID Count =
CALCULATE(
DISTINCTCOUNT('Table'[ProjectID]),
FILTER(
ALLEXCEPT( 'Table', 'Table'[Date], 'Table'[ProjectID] ),
[% Compare to Previous] < -0.3
)
)
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@Anonymous Do you already have a Calendar table in your model?
If not, you'll probably need to have one.

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
09-05-2024 10:59 PM | |||
11-07-2024 09:18 AM | |||
12-21-2024 11:21 AM | |||
06-25-2024 06:51 PM | |||
08-01-2024 09:31 PM |
User | Count |
---|---|
87 | |
81 | |
53 | |
38 | |
35 |