DAX code
Return Rate % =
VAR ReturnedOrders = CALCULATE(DISTINCTCOUNT('Sales'[OrderID]), 'Sales'[IsReturn] = TRUE)
RETURN
DIVIDE(ReturnedOrders, [Total Orders])
Expresses the number of returned orders as a percentage of total orders.
Type your table and column names once. Every measure below updates.
Return Rate % =
VAR ReturnedOrders = CALCULATE(DISTINCTCOUNT('Sales'[OrderID]), 'Sales'[IsReturn] = TRUE)
RETURN
DIVIDE(ReturnedOrders, [Total Orders])
Replace 'Sales'[IsReturn] with whatever flag or negative-quantity logic marks a returned order in your data.
Browse all 175 measures in the Power BI DAX Measures Library, or search the library for something similar to Return Rate %.