Fluctuation relations are powerful equalities that hold far from equilibrium. However, the standard approach to include measurement and feedback schemes may become inapplicable in certain situations, including continuous measurements, precise measurements of continuous variables, and feedback induced irreversibility. Here we overcome these shortcomings by providing a recipe for producing detailed fluctuation relations. Based on this recipe, we derive a fluctuation relation which holds for arbitrary measurement and feedback control. The key insight is that fluctuations inferable from the measurement outcomes may be suppressed by postselection. Our detailed fluctuation relation results in a stringent and experimentally accessible inequality on the extractable work, which is saturated when the full entropy production is inferable from the data.