This is the point I was raising about selection bias. The measurements for cost of solar (and wind) are under near optimal conditions, because they are only installed in places that are best suited for them.
Even then, they don't provide baseload power (intermittency) and they aren't clearly cheaper than conventional energy sources.
Also, the point about environmental impact of producing wind and solar is spot on, especially if you bring EV's into the discussion.