How to create a flat ramp out of stairs? I need to create a flat ramp, I have tried to dissolve the edges but its not producing the desired outcome, any ideas?

My current setup:


If I dissolve edges I get the following:


thanks for your help
A subdivided and extruded plane does the trick. See below:


Here the number of subdivisions is 7