How to create a table with dynamic columns?

You’ll probably need to set up 2 repeating groups. The 1st going horizontally based on some condition (e.g 5/15 columns needed). The second RG will be vertical within each column and will display the data you require, on top of this will need to be in a draggable element using bubble’s draggable elements plugin.

You’ll need to play around with how each dataset will be displayed and the conditions for this (e.g. hiding columns)

a rough diagram below.

  1. saving the settings - this will need to be a settings ‘thing’ for each user, so that it can be referenced later.

or you could try to leverage a plugin like:

Hope this helps.