Neither the Sovereign nor the House of Lords had any meaningful influence over who was elected to the Commons in 1997 or in deciding whether or not Blair would become Prime Minister.
Prior to the 19th century, however, they had significant influence, using to their advantage the fact that most citizens were disenfranchised and seats in the Commons were allocated disproportionately.