A dash that goes dark at the same moment, and a dash that stays on while the engine has stalled, are different signs. Start with what exactly is losing power.
Symptoms and owners' experience
On the R300, owners described the engine stopping while the bike was being wheeled and unstable pump priming. In an RR300 story the dash went out together with the engine, although the battery still had voltage; the cause was found in a loose contact in the main relay circuit. A connector after a service, the ignition switch and the side stand switch were discussed as other possible places.
How to tell the causes apart
Check the terminals, fuses, the ignition switch and relay contacts, and the kill switch and side stand positions. Inspect the wiring with the power off. How suddenly the symptom appears helps the search, but doesn't prove a specific part. Don't bypass interlocks with a permanent jumper or use a random direct wire as a repair.
What counts as a result
The result is a steady supply and starting with the switches working normally. If the failure repeats with handlebar or suspension movement, locate the damaged section before normal use. Keep the codes and measurements. There is a separate contradiction about fuse ratings.