I am using the following command
asdocx list datevar_w Gender_DT , title(Outliers) save(Outliers.tex) replace tableonly
it generates:
\begin{tabularx} {16cm} {@{} l Y @{}}
\midrule datevar\ w&Gender\ DT \\
\midrule 2016w48&738 \\
2017w47&2081 \\
2018w4&1676 \\
2018w47&1520 \\
2019w48&985 \\
2020w48&770 \\
\bottomrule
\end{tabularx}
However, while compiling with miktex\bin\x64\pdflatex.exe
! Package array Error: Illegal pream-token (Y): `c’ used.
any clue, how to fix it?