Consider The Flash a superfriend with benefits.

Supergirl‘s visit from the CW speedster on Monday drew 7.24 million total viewers and a 1.7 rating, up 21 and 31 percent to bring to a screeching halt the CBS series’ four-week downward trend and lead all of the night’s scripted programs in the demo.

The yet-to-be-renewed Supergirl hit a four-week high in total audience while scoring its best demo number since Feb. 8. TVLine readers gave the well-promoted crossover an average grade of “A.”

Though not invited to Monday night’s DC-on-TV party, Fox’s Gotham (3.8 mil/1.3) held steady, as did its lead-out Lucifer (3.8 mil/1.2).

Leading out of #SuperFlash, CBS’ Scorpion (8.6 mil/1.6) ticked up from last week’s series low, while NCIS: LA (8.7 mil/1.2) dipped a tenth.

Elsewhere in the ratings….

THE CW | Each rebounding from series lows, Crazy Ex (921K/0.3) rose 30 and 50 percent while Jane (928K/0.4) grew 20 and 33 percent.

ABC | DWTS (11.8 mil/1.7) dipped 6 percent and a tenth. An encore of The Catch drew 4.3 mil/0.7.

NBC | The Voice (11.2 mil/2.8) was steady week-to-week, while Blindspot (6.1 mil/1.6) ticked up.

Want scoop on any of the above shows? Email insideline@tvline.com and your question may be answered via Matt’s Inside Line.