Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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 |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
10 | |
8 |