כָּל־קֳבֵ֡ל דִּ֣י ר֣וּחַ ׀ יַתִּירָ֡ה וּמַנְדַּ֡ע וְשָׂכְלְתָנ֡וּ מְפַשַּׁ֣ר חֶלְמִין֩ וַֽאַֽחֲוָיַ֨ת אֲחִידָ֜ן וּמְשָׁרֵ֣א קִטְרִ֗ין הִשְׁתְּכַ֤חַת בֵּהּ֙ בְּדָ֣נִיֵּ֔אל דִּֽי־מַלְכָּ֥א שָׂם־שְׁמֵ֖הּ בֵּלְטְשַׁאצַּ֑ר כְּעַ֛ן דָּנִיֵּ֥אל יִתְקְרֵ֖י וּפִשְׁרָ֥ה יְהַֽחֲוֵֽה׃ (פ)
װײַל אַן אױסנאַמיקער גײַסט, און קענשאַפֿט, און פֿאַרשטאַנדיקײט, פּוֹתר זײַן חלוֹמות, און באַשײדונג פֿון רעטענישן, און אָפּבינדונג פֿון קנופּן, זײַנען געפֿונען געװאָרן אין אים, אין דניאלן, װאָס דער מלך האָט געמאַכט זײַן נאָמען בלטשאַצַר. אַצונד, זאָל דניאל גערופֿן װערן, און ער װעט באַשײדן דעם פּיתרון.
Rashi
All because, etc. because a superior spirit, knowledge and understanding are within him, and the talent to tell riddles.
Ibn Ezra
[Daniel 5:12] To explain riddles (וְאַֽחֲוָיַ֨ת אֲחִידָ֜ן - v'achawayat achidan) [and solve problems (וּמְשָׁרֵ֣א קִטְרִ֗ין - u'm'share kitrin)]: [This means] telling [the meaning of] riddles (מַגִּיד חִידוֹת - maggid chidot) and untying knots (וּמַתִּיר קְשׁוּרִים - u'matir k'shurim).
Rashi
and untie knots The revelation of all secrets is found in Daniel.