Forum Discussion
Anonymous
6 years agoNot applicable
count multiple rows together
Hi ! I have a table named ShipDetails that looks like this : DROP ON_TIME_DELIVERY ORDERED_PRODUCT Client 1 - Order 1 OK Product 2 Client 1 - Order 1 OK Product 4 Client 2 -...
- 6 years ago
Hi Anonymous
Try this.
On time delivery (%) = DIVIDE( CALCULATE( DISTINCTCOUNT( ShipDetails[DROP] ), ShipDetails[ON_TIME_DELIVERY] = "OK" ), DISTINCTCOUNT ( ShipDetails[DROP] ) )Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
LinkedIn
Mariusz
6 years agoCommunity Champion
Hi Anonymous
Try this.
On time delivery (%) =
DIVIDE(
CALCULATE(
DISTINCTCOUNT( ShipDetails[DROP] ),
ShipDetails[ON_TIME_DELIVERY] = "OK"
),
DISTINCTCOUNT ( ShipDetails[DROP] )
)
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
LinkedIn
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.