@Melissa already helped me two weeks ago. I added an additional statement to the m-code but it does not work as it supposes to: List filters.xlsx (165.9 KB)
current m code:
= Table.SelectRows(#“Changed Type”, each (not List.Contains(ExcludeList, [Acct Code]) and ((List.Contains(IncludeList, [Reference])) or Text.Contains(":Reversal",[Reference]))))
I have added or Text.Contains(":Reversal",[Reference]) to include Reversal in reference column but the data does not give me the correct result