Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello,
Taking this COD_UID as
How can I perform a datediff in seconds between the dates with the status shipped and the dates with the status Packed for the same COD_UID?7
Sample here: Sample
Solved! Go to Solution.
Hi @Anonymous ,
Please try:
Measure =
var _a = CALCULATE(MAX('Table'[Picking Time_]),FILTER('Table',[STATUS]="SHIPPED"))
var _b = CALCULATE(MAX('Table'[Picking Time_]),FILTER('Table',[STATUS]="PACKED"))
return DATEDIFF(_a,_b,SECOND)
Output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Please try:
Measure =
var _a = CALCULATE(MAX('Table'[Picking Time_]),FILTER('Table',[STATUS]="SHIPPED"))
var _b = CALCULATE(MAX('Table'[Picking Time_]),FILTER('Table',[STATUS]="PACKED"))
return DATEDIFF(_a,_b,SECOND)
Output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
14 | |
10 | |
7 |