The book of Daniel is in the Ketuvim portion of Tanach, which would indicate him not being among the prophets.
However, Daniel was given the ability to interpret Nebuchadnezzar's dream (Daniel 2:19)
Then the secret was revealed to Daniel in the vision of the night; then Daniel blessed the God of heaven.
He also had his own prophetic-like dream and was able to interpret it (Daniel 7:1)
In the first year of Belshazzar, the king of Babylon, Daniel saw a dream, and the visions of his mind [while asleep] on his bed; then he wrote the dream and said the beginnings of the matters.
It should be noted that these events happened during the night when he was asleep, like how Hashem speaks to other prophets.
Is Daniel considered a prophet? If not, why?