How can I cross-reference a table

I want to cross-reference a table in LibreOffice Writer version 5.0.4.2. But I can’t seem to find the option in the cross-reference menu. Does anyone know where I could find this option?

You first need to apply a caption to the table. Once you give the table a caption (put cursor anywhere in the table, Insert >>Caption), it should appear among the cross-reference options.