Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi Team,
Could you please help me.
I want to create historic ageing trend for last few days or weeks or Months like below.
The age should be as per date when the raw data extracted and not as per today where we use formula as [ Today()]
Solved! Go to Solution.
Hi @Ramendra
If you have columns like [Ticket opening date] and [Extracting date] in your table, you can use DATEDIFF function to calculate the duration days between two dates: Date Difference = DATEDIFF([Ticket opening date], [Extracting date], DAY)
Then group them by age volume with IF or SWITCH function:
Age volume =
SWITCH (
TRUE (),
[Date Difference] > 30, "Greater than 30 Days",
30 >= [Date Difference] && [Date Difference] >= 10, "10 - 30 Days",
"Smaller than 10 Days"
)
If this doesn't help, it would be better if you can provide some dummy data to show the raw table and the expected result you want to get. This would help us understand your requirement better.
Hope this helps.
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
Hi @Ramendra
If you have columns like [Ticket opening date] and [Extracting date] in your table, you can use DATEDIFF function to calculate the duration days between two dates: Date Difference = DATEDIFF([Ticket opening date], [Extracting date], DAY)
Then group them by age volume with IF or SWITCH function:
Age volume =
SWITCH (
TRUE (),
[Date Difference] > 30, "Greater than 30 Days",
30 >= [Date Difference] && [Date Difference] >= 10, "10 - 30 Days",
"Smaller than 10 Days"
)
If this doesn't help, it would be better if you can provide some dummy data to show the raw table and the expected result you want to get. This would help us understand your requirement better.
Hope this helps.
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
User | Count |
---|---|
103 | |
88 | |
78 | |
71 | |
69 |
User | Count |
---|---|
113 | |
99 | |
97 | |
72 | |
68 |