Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I'm trying to calcualte ageing of a tickets created which is 6 months old. I don't know how to segregate the data based on the "create date" and "last update date".
I've created ageing of the tickets day-wise, I need to segregate them month-wise using the age of the ticket.
Any help on this would be appreciated!!
Solved! Go to Solution.
If it is just a snapshot of the current moment then I would create a calculated column:
daysOld = DATEDIFF(table[Created Date], TODAY(), DAY)
And then you can create another calculated column for the categories:
daysOldCategory = IF(table[daysOld] < 15; "Less than 15 days"; IF(table[daysOld] <= 30; "15-30 days"; IF(table[daysOld] <= 60; "30-60 days"; "60 days and above")))
Hi, Can someone tell i have same requirements but reverse of this requirement. I just want to show data filter from number of days as parameters, But the report will not show past date it will show only future date. Let say our item is expiry date is after 30 days as i enter 30 days the report will show those items which will be expired withing 30 days. in the same manner if i enter 60 days the report shows those items will be expired within 60 days etc.
Best Regards,
Shabir Ahmad
@Anonymous
Are you trying to add the aging buckets as a calculated column on your ticket table? Can you share a sample of your data that can be copy and pasted easily? (paste the sample from excel, not a picture of the data). If you put the sample data together in a table in your .pbix then export it to .csv you can copy and paste from the data.csv file.
@jdbuchanan71 Yes, I'm trying to create calculated columns. I've these following columns which I'm trying to calculate:
I need to find the ageing of the tickets based on the following category:
Hello @Anonymous
Give this a try.
Aging Bucket = VAR DaysAge = DATEDIFF ( Table[Created Date], TODAY (), DAY ) RETURN SWITCH ( TRUE (), DaysAge < 15, "0-14 days", DaysAge < 30, "15-29 days", DaysAge < 60, "30-59 days", "60+ days" )
If it is just a snapshot of the current moment then I would create a calculated column:
daysOld = DATEDIFF(table[Created Date], TODAY(), DAY)
And then you can create another calculated column for the categories:
daysOldCategory = IF(table[daysOld] < 15; "Less than 15 days"; IF(table[daysOld] <= 30; "15-30 days"; IF(table[daysOld] <= 60; "30-60 days"; "60 days and above")))
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
116 | |
101 | |
88 | |
35 | |
35 |
User | Count |
---|---|
152 | |
100 | |
83 | |
63 | |
54 |