Forum Discussion
miltenburger
Helper V
8 years agoDatediff on unique CaseID with two different actions
Hi Guys, I'm sturggling a bit on a calculated column which gives me the datediff. My Table has been set up like this: What I want to achieve is the datediff on a CaseID ...
- 8 years ago
you can use if function bro. Example:
sontt
Resolver I
8 years agoYou can try:
Datedif = Calculate(max([Date]),filter(table,table[Caseid] = earlier([Caseid]) && table[Action] <> earlier(table[action]))- [date]
miltenburger
Helper V
8 years agoThanks sontt for your reply.
But this doesn't seems to work....
- sontt8 years ago
Resolver I
I tried this in my power pivot, it still work bro.
- miltenburger8 years ago
Helper V
Yeah is see,
the only problem is, my action column has 100 different notations, i only want the "verheldering" and "besluit"
- sontt8 years ago
Resolver I
you can use if function bro. Example: