Da 2:26 The king asked Daniel (also called Belteshazzar), "Are you able to tell me what I saw in my dream and interpret it?"
Ge 41:15 Pharaoh said to Joseph, "I had a dream, and no-one can interpret it. But I have heard it said of you that when you hear a dream you can interpret it."
Reading Daniel chapter 2, the comparisons to Joseph are strong and apparent. Both men were taken against their will into exile in a foreign land. Both served the king, initially in humble circumstances, but were eventually exalted to his right hand. Both interpreted dreams for the king, that no one else could, and both by their interpretation spared the lives of many who would otherwise have died.
They are also both examples for us who serve God in secular employment. We may work for or company, but we serve the Lord, and we do all things as unto him. Both excelled in everything they were given to do and so gave glory to the God they served.
Most importantly they are both types (examples and foreshadows) of Christ himself. [The whole Bible is about Jesus! Not just the New Testament] They are both prophetic in their lives by pointing forward to one who would come in humble circumstances, reveal God in a way no-one else could, save many from the curse of sin and death, and ultimately be exalted to right hand of the throne of God in glory.