How to create a list of data that only displays if there is a value

Hi all,
I’m new to this app and slowly getting the hang of it.

I am trying to create a “log” page that displays records from the database. The trick is, there is a large number of possible fields for each record, but most records will only have data in 4-5 of the fields and the rest will be empty.

I’m trying to make it so that the list pulls in only the fields that have data and ignore the rest. This means I’ll need 4-5 columns and 2 rows - top row will dynamically update the field label and the bottom row will show the corresponding field value.

Each record obviously appear different, which is the point.

Does anyone know how I might do that?
Cheers