v3.26.1
Accounting Policies - Summary of Reclassifications (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2026
Jul. 31, 2025
Jan. 31, 2026
Accounting Policies [Abstract]          
Production tax credit income $ 18,410 $ 0 $ 25,959 $ 0 $ 31,723
Gross profit 53,300 14,319 82,371 28,661 125,429
Income before income taxes 48,118 12,097 74,233 25,723 120,295
Benefit (provision) for income taxes (7,472) (2,769) (11,909) (5,723) (21,587)
Net income 40,646 9,328 62,324 20,000 98,708
Net income attributable to noncontrolling interests (5,702) (2,217) (8,928) (4,211) (15,757)
Net income attributable to REX common shareholders $ 34,944 $ 7,111 $ 53,396 $ 15,789 82,951
As Previously Reported [Member]          
Accounting Policies [Abstract]          
Production tax credit income         0
Gross profit         93,706
Income before income taxes         88,572
Benefit (provision) for income taxes         6,502
Net income         95,074
Net income attributable to noncontrolling interests         (12,123)
Net income attributable to REX common shareholders         82,951
Effect of Change [Member]          
Accounting Policies [Abstract]          
Production tax credit income         31,723
Gross profit         31,723
Income before income taxes         31,723
Benefit (provision) for income taxes         (28,089)
Net income         3,634
Net income attributable to noncontrolling interests         (3,634)
Net income attributable to REX common shareholders         $ 0