Find my approach as reference below and stored in attached workbook version 10.3 located in the original thread.
1. Pivot the datasource. Pivoting is explained here
2. Define two parameters
3. D1. Dynamic Column Renaiming
if [Pivot Field Names]="Col1" then [P1. Col1]
elseif [Pivot Field Names]="Col2" then [P1. Col2]
4. Drag required objects to the indicated locations. Hide Header of Pivot Field Names and show parameter control
Dyn header_nalmai_10.3.twbx 17.2 KB