March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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")))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |