Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I would like to calculate the amount of time between Submitted for Review and a Decision being made. However, there are times when there is a pause of work and I want to exclude that time; but the pause doesn't always occur. Can someone please help me create a DAX exploring:
Datediff (in days) between submitted for review and decision rendered excluding the time between project pause and project restart (if there is a pause)
Solved! Go to Solution.
I will work on this. thank you. It just dawned on me that we also don't include weekends and federal holidays. Is it possible to somehow pull that in to the caluclation as well?
Thank you
@lynnzrae Ensure you have columns for "Submitted for Review", "Decision Rendered", "Project Pause", and "Project Restart".
Create a calculated column to determine the total number of days the project was paused.
Subtract the total pause duration from the overall duration between "Submitted for Review" and "Decision Rendered".
DAX
-- Step 1: Calculate the total pause duration
TotalPauseDuration =
SUMX(
FILTER(
YourTable,
NOT(ISBLANK(YourTable[Project Pause]) && ISBLANK(YourTable[Project Restart]))
),
DATEDIFF(YourTable[Project Pause], YourTable[Project Restart], DAY)
)
-- Step 2: Calculate the net duration excluding pauses
NetDuration =
DATEDIFF(YourTable[Submitted for Review], YourTable[Decision Rendered], DAY) - YourTable[TotalPauseDuration]
For more details share sample data and exact required data
Proud to be a Super User! |
|
I ceated the below and received an error message: Too Many arguments were passed to the sum function. The maximum argument count for the funtion is 1. Can you please advise on where I went wrong? Thanks.
Total Period of Paused Review =
SUM(
FILTER(
TPermitBRGCycle,
NOT(ISBLANK(TPermitBRGCycle[CG-BRG-2 Paused; Start Date])&&ISBLANK(TPermitBRGCycle[CG-BRG-2 Restart; Complete Date]))
),
DATEDIFF(TPermitBRGCycle[CG-BRG-2 Paused; Start Date],TPermitBRGCycle[CG-BRG-2 Restart; Complete Date], DAY)
)
I will work on this. thank you. It just dawned on me that we also don't include weekends and federal holidays. Is it possible to somehow pull that in to the caluclation as well?
Thank you
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |