Forum Discussion
MaironDominguez
3 years agoFrequent Visitor
Help Making Calculated Columns and Gantt Chart
Good morning, I would appreciate your assistance with the following: I have the columns Ticket ID, which identifies each ticket; Ranking, which indicates the order in which the tickets will be re...
- Anonymous3 years ago
Hi MaironDominguez,
You can try to use following calculated column formulas if they suitable for your requirement:
AR Days = IF ( Table1[Ticket Status] <> "Resolved", CALCULATE ( SUM ( Table1[Estimated Resolving Days] ), FILTER ( Table1, [ITStaff] = EARLIER ( Table1[ITStaff] ) && [Ranking] <= EARLIER ( Table1[Ranking] ) && [Ticket Status] <> "Resolved" ) ) ) SDate = VAR cum = CALCULATE ( SUM ( Table1[Estimated Resolving Days] ), FILTER ( Table1, [ITStaff] = EARLIER ( Table1[ITStaff] ) && [Ranking] < EARLIER ( Table1[Ranking] ) && [Ticket Status] <> "Resolved" ) ) RETURN IF ( Table1[Ticket Status] <> "Resolved", [Today] + cum ) EDate = IF ( Table1[Ticket Status] <> "Resolved", [SDate] + [Estimated Resolving Days] )Notice: if you want these date dynamic changes based system date, you can replace the [Today] column to TODAY() function.
Regards,
Xiaoxin Sheng
Anonymous
3 years agoNot applicable
Hi MaironDominguez,
You can try to use following calculated column formulas if they suitable for your requirement:
AR Days =
IF (
Table1[Ticket Status] <> "Resolved",
CALCULATE (
SUM ( Table1[Estimated Resolving Days] ),
FILTER (
Table1,
[ITStaff] = EARLIER ( Table1[ITStaff] )
&& [Ranking] <= EARLIER ( Table1[Ranking] )
&& [Ticket Status] <> "Resolved"
)
)
)
SDate =
VAR cum =
CALCULATE (
SUM ( Table1[Estimated Resolving Days] ),
FILTER (
Table1,
[ITStaff] = EARLIER ( Table1[ITStaff] )
&& [Ranking] < EARLIER ( Table1[Ranking] )
&& [Ticket Status] <> "Resolved"
)
)
RETURN
IF ( Table1[Ticket Status] <> "Resolved", [Today] + cum )
EDate =
IF (
Table1[Ticket Status] <> "Resolved",
[SDate] + [Estimated Resolving Days]
)
Notice: if you want these date dynamic changes based system date, you can replace the [Today] column to TODAY() function.
Regards,
Xiaoxin Sheng
- MaironDominguez3 years agoFrequent Visitor
Wonderful, it works perfectly, thank you very much!