סימן מט סעיף יב
אֵין מְבָרְכִין הַטּוֹב וְהַמֵּטִיב אֶלָּא אִם יֵשׁ עוֹד מִן הַיַּיִן הָרִאשׁוֹן וְרוֹצִים לִשְׁתּוֹת אֶת הַשֵּׁנִי מִשּׁוּם שִׁנּוּי יָיִן. אֲבָל אִם מֵחֲמַת שֶׁהַיַּיִן הָרִאשׁוֹן כָּלָה מְבִיאִין אֶת הַשֵּׁנִי, אֵין מְבָרְכִין עָלָיו.
The berachah, Hatov vehameitiv, is said only if there is still some of the original wine [on the table] and you want to drink the second wine in order to have variety. But, if they are now bringing the second wine [to the table] because the first wine has been consumed, the berachah [Hatov vehameitiv] is not said over it.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)