we can't see what you entered but are their amount on any other line of the k-1 other than 1 and 20
capital gains would show on the k-1 on lines 8, 9a, 9b, 10 and maybe 11
20z is the qualified business income which should match line 1. this gets entered when you get to the qualified business income section for the k-1. if done correctly this flows to form 8995 where the QBI deduction is computed and that flows to the 1040 line 13