When there are multiple longtabu
environments in a talbe, the numbering of table will be wrong. See the MWE below.
\documentclass{article}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{tabularx}
\usepackage{tabu}
\usepackage{longtable}
\begin{document}
\begin{table}
\centering
\caption{An interesting table}
\subcaption*{Panel A: Some stuff}
\begin{longtabu}{XXX}
First name & Last name & Product \\
Bubba & Gump & Shrimp \\
Steve & Jobs & Happiness \\
\end{longtabu}
\bigskip
\subcaption*{Panel B: Other stuff}
\begin{longtabu}{XX}
School & State \\
Harvard & MA \\
Yale & CT \\
Brown & RI \\
\end{longtabu}
\end{table}
\begin{longtabu}{ll}
Longtable & Longtable \\
Longtable & Longtable \\
Longtable & Longtable \\
Longtable & Longtable \\
Longtable & Longtable \\
\caption{This is a caption}
\end{longtabu}
\end{document}