Code
Consider the follwing example:
\documentclass[danish]{article}
\usepackage{polyglossia}
\setdefaultlanguage{danish}
\usepackage[demo]{graphicx}
\usepackage{booktabs}
\usepackage{floatrow}
\newfloatcommand{capbtabbox}{table}[][\FBwidth]
\usepackage{caption,subcaption}
\usepackage{siunitx}
\usepackage{hyperref}
\begin{document}
\begin{figure}
\begin{floatrow}
\ffigbox{
\includegraphics[width = 0.2\textwidth]{image1}%
}{
\caption{Figure caption.}
\label{fig:1}
}
\capbtabbox{%
\begin{tabular}{
l
S[table-format = 2]
}
\toprule
Næring~[\qty{1}{\g}] & {Energi~(\unit{\kJ})} \
\midrule
Protein & 17 \[0.5ex]
Fedtstof & 38 \[0.5ex]
Kulhydrat & 17 \[0.5ex]
Alkohol & 30 \
\bottomrule
\end{tabular}
}{
\caption{Table caption.}
\label{tbl:1}
}
\end{floatrow}
\end{figure}
\autoref{tbl:1}
\end{document}
Question
How to I make a reference to the table and not to the figure?

ffigboxand needed references. Looking through the manual forfloatrow, it looks like\ttabboxshould give a recognizable "table", and\floatsetup[table]{capposition=bottom}to set a bottom caption. This is just a guess, based on the documentation. – barbara beeton May 08 '22 at 23:02