I have heard of you, that the Spirit of God is in you, and that light and understanding and excellent wisdom are found in you. Daniel 5:14
Again, it is important to note that what the king knew about Daniel was not how great Daniel was in and of himself, but that the Spirit of God was in him.
It was never about exalting Daniel but about God showing His power through His servant Daniel.
Too often when people talk about having spiritual gifts, they focus on themselves but the focus should always be on God.
The Holy Spirit was at work, and Daniel was the vessel through which He showed His omniscience.