The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello,
I am trying to create a custom column that shows DATE diff between start & end date values > two hours, and based on a certain status value of "In-Progress" (all within same table), but I am getting #ERROR message - please can soomeone help me with the correct syntax?
My attempt is as follows:
Solved! Go to Solution.
Try
Time > 2 hours and Status of "In Progress" =
IF (
DATEDIFF (
'XXX Data'[Date Created],
'XXX Data'[Date & time first responded to],
MINUTE
) > 120
&& 'XXX Data'[Status] = "In-Progress",
"Yes",
"No"
)
Try
Time > 2 hours and Status of "In Progress" =
IF (
DATEDIFF (
'XXX Data'[Date Created],
'XXX Data'[Date & time first responded to],
MINUTE
) > 120
&& 'XXX Data'[Status] = "In-Progress",
"Yes",
"No"
)
User | Count |
---|---|
13 | |
8 | |
8 | |
7 | |
5 |
User | Count |
---|---|
21 | |
15 | |
15 | |
10 | |
7 |