Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
Bear with me. I am not great at DAX math.
I have 2 formulas I need help with.
First - Over 30 days. I got this far but where am I off? It's not populating the YES/NOW in the column...
Secondly - Average days to close tickets....my mind is blank on this one....
Solved! Go to Solution.
Hi Yilong!
Thank you! So Close!!!
However, what I am now seeing is this...
I need to add 3 values - Closed, Resolved, and Cancelled - from the Status column (INC[Status]) to the formula that should filter them. I tried and it's not filtering them out. Below are the Resolved tickets (sigh) I tried the filter into the formula but I am not getting it right at all.
Then I did this and it worked somewhat -
I figured it out!
I had to revamp a couple columns.
1st) PBI Aging
I figured it out!
I had to revamp a couple columns.
1st) PBI Aging
Lawd! I accidently hit the Accepted as Solution by mistake!!! How do I take that out??
@Hopeisgood1
You need to add these as calculated column, NOT as measures:
Over 30 Days = IF ( INC[PBI Submit Date].[Date] < ( TODAY () - 30 ), "Yes", "No" )
Average days to close tickets = INT ( INC[PBI Closed Date].[Date] - INC[PBI Submit Date].[Date] )
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
For over 30 days, I am noticing those with NULL or blank in the closed date that they have been resolved in the past - how do I exclude those closed date nulls with the status or Resolved, Cancelled, and Closed?
These are tickets with bad data entry from the past 😤
Currently working on the Average days piece as there are some weird things in there and trying to find the root cause of it.
Thanks 🙂
Over 30 Days = IF ( INC[PBI Submit Date].[Date] < ( TODAY () - 30 ) &&
INC[PBI Close Date].[Date] <> Blank()
, "Yes", "No" )
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Resolved status fixed...
Though why is this still stating YES for some that are not over 30 days for the Closed status? All of these rows you are seeing are in closed status. (Nevermind the PBI Aging as I am working on that one!)
Hi @Hopeisgood1 ,
I create a table as you mentioned.
So I think you can change your DAX code and you can try this DAX code:
Over 30 Days =
IF (
'INC'[PBI Closed Date] - 'INC'[PBI Submit Date]
< ( TODAY () - 30 )
&& 'INC'[PBI Closed Date] <> BLANK (),
"No",
"Yes"
)
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Yilong!
Thank you! So Close!!!
However, what I am now seeing is this...
I need to add 3 values - Closed, Resolved, and Cancelled - from the Status column (INC[Status]) to the formula that should filter them. I tried and it's not filtering them out. Below are the Resolved tickets (sigh) I tried the filter into the formula but I am not getting it right at all.
Then I did this and it worked somewhat -
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
21 | |
20 | |
19 | |
13 | |
12 |
User | Count |
---|---|
42 | |
28 | |
23 | |
22 | |
22 |