The Queen advises the Prime Minister on policy and the PM knows her opinion on most issues. and this can be quite influential.
The monarch holds a weekly audience with the prime minister; no records of these audiences are taken and the proceedings remain fully confidential. She influences policy via the Prime Minister informally.
It is window dressing, so that the people don't burn the palace down and drive the RF out with pitchforks.