Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi, I am trying to calculate the actions that are open for more than 30 days.
Below are the code that I created for calculation: It doesnt work and giving me the wrong calculation.
OverDueActionHigh Open30d =
CALCULATE(DISTINCTCOUNT(EventsAction[Id]),
Filter(EventsAction,
EventsAction[Finding Date] + 30 //days??
&& EventsAction[Criticality] = "High"
&& EventsAction[Status] = "Open - In Progress"
)
)
I just want to count how many open actions that are still open for more than 30 days from the finding date.
This is my table that Im using.
Table: EventsAction
Id | Criticality | Status | Finding Date |
13232 | High | Open - In Progress | 1/10/2023 |
1442 | High | Open - In Progress | 27/11/2023 |
122451 | High | Closed | 9/08/2023 |
22423 | Moderate | Closed | 10/08/2023 |
24552 | Low | Open - In Progress | 7/01/2024 |
3335261 | Low | Closed | 10/08/2023 |
3552 | High | Open - In Progress | 10/11/2023 |
6696 | High | Open - In Progress | 12/03/2024 |
Note that Id 6696 is not yet overdue as it was only created recently.
The result I need to get should be:
Solved! Go to Solution.
Hi,
Please try something like below.
OverDueActionHigh Open30d =
CALCULATE (
DISTINCTCOUNT ( EventsAction[Id] ),
FILTER (
EventsAction,
TODAY () - EventsAction[Finding Date] > 30
&& EventsAction[Criticality] = "High"
&& EventsAction[Status] = "Open - In Progress"
)
)
Hi,
Please try something like below.
OverDueActionHigh Open30d =
CALCULATE (
DISTINCTCOUNT ( EventsAction[Id] ),
FILTER (
EventsAction,
TODAY () - EventsAction[Finding Date] > 30
&& EventsAction[Criticality] = "High"
&& EventsAction[Status] = "Open - In Progress"
)
)
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
11 | |
9 | |
8 | |
8 |