You asked

Which portrait lens for the lumix gh7 is best for dim rooms and a tight budget?

For a Lumix GH7 in dim rooms, the aperture matters more than the sensor. The GH7's Micro Four Thirds sensor has a crop factor of 2.0, so a 25mm lens frames like 50mm on full frame. The guide calls the 50mm f/1.8 the cheapest great portrait lens, so 25mm is the equivalent to look for. In a dim room, aim for f/1.7 or faster.

The guide's picks in that range are:

Each lens page has a "Price in France" section with the current prices and shop links. This guide doesn't quote prices here, and they change, so check that section before you buy. If you later want tighter headshots, the portraits guide's lens advice points to a longer, 85mm-equivalent lens.

Stabilisation in the GH7 body steadies the camera for slow shutter speeds, but it does nothing for a moving subject, so the fast lens does the real work indoors.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.