Hi Anh,
You'll just need to move your list filter from the widget or dashboard into the Line 1 and Line 2 formulas. Look at the Adding a Filter to a Formula section of Tessitura v15 Help System - Filtered Values (tessituranetwork.com).
( [# unique Constituent ID] , [Lists contains '#####'] )