Forum Discussion
MaironDominguez
3 years agoFrequent Visitor
Help with a Calculated Column
Greetings, I need help with the code of a calculated column, what I need is that having an initial date, all the tickets of a certain it staff can be organized considering the estimated resolving ti...
- Anonymous3 years ago
Hi MaironDominguez ,
Due to today is 8/7/2023, here I use 8/4/2023 as today to have a test to try to get the result you want.
StartDate = VAR _TODAY = DATE ( 2023, 08, 04 ) RETURN IF ( Table1[Ranking] = 1, _TODAY, _TODAY + CALCULATE ( SUM ( Table1[Estimated Resolving Time (Days)] ), FILTER ( ALLEXCEPT ( Table1, Table1[ITStaff] ), Table1[Ranking] < EARLIER ( Table1[Ranking] ) ) ) )EndDate = Table1[StartDate]+Table1[Estimated Resolving Time (Days)]Result is as below.
If you want to dynamic today value, you can replace DATE(2023,08,04) by TODAY().
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
foodd
3 years agoCommunity Champion
Please provide your work-in-progress Power BI Desktop file (with sensitive information removed) that covers your issue or question completely in a usable format (not as a screenshot).
MaironDominguez
3 years agoFrequent Visitor
This in te link to the PBI File;
This one is for the excel file im using as a Data Source;