All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Taking a medication tablet sublingually (under the tongue) during the daytime in Ramadan does not invalidate the fast, since it does not reach the internal cavity (al-jawf) through an open passage.
However, if the tablet dissolves and any part of it is swallowed, then the fast is broken.
And Allah, the Exalted, knows best.