The function in a dream could represent a gathering of people or ideas that are important to you, or it could represent a goal or ambition that you are working towards.
In the context of attending a function in a dream, it is possible that the dream could be reflecting your feelings or attitudes about the event or function in the dream. For example, if you are feeling overwhelmed or out of place at the function in the dream, this could indicate that you are feeling similarly in your waking life. If you are enjoying yourself and feel comfortable at the function in the dream, this could suggest that you are happy and content in your waking life.