You do not have to duplicate the data, unless you want to keep it for comparison.
What you can do is create a data – pipeline, to go from flattened data in the data table -> Pivot command for perform calculations-> extract from the Pivot command back to the data table.
To extract from the Pivot command, click the gear menu on the Pivot command (top right corner) and you have options for extracting columns that are pivoted or flattened.
If you need a more concrete example, let us know!