It might not be about light at all. Astilbe does flower in partial shade, but it often refuses to do so because of depleted soil - over two years the plant has sucked up all the nutrients from the ground and simply doesn't have the energy to flower. Try adding good compost or well-rotted manure under the bush (a layer of about 5-7 cm), or better yet do it properly in spring - dig around the bush and add a balanced fertilizer for flowering plants.
The second common reason is soil acidity. Astilbe prefers slightly acidic soil, and if your garden has alkaline soil, flower buds simply won't form. Look at what weeds are growing nearby and what the soil looks like - that'll help you figure out the acidity.
And here's a lifehack I use: don't skimp on water during budding (from late spring through early summer). Astilbe loves moisture, and if there's not enough water during bud set it drops the buds, even if everything else is fine. Mulch the bush with pine needles or leaves - it'll keep the moisture in and slightly acidify the soil.