To dream of cheesecake represents situation in your life where you feel good being safe. Noticing that there is nothing dangerous anymore. You may feel relieved that something hard or horrible is over.
Example: A man dreamed of not being able to eat a cheesecake. In waking life he was captive prisoner who failed his escape from prison. The cheesecake that eluded him reflected the relief from prison life that he was unable to achieve.