We would like to let you know that it is possible to achieve the desired view with an unpivot operation on top of your flattened view and by including an additional column in the output for the index.
To explain further, as in your example, you would need to do the following:
* Flatten your initial view in order to have a view with 4 fields: ID, value0, value1, value2 (where value0, value1 and value2 represent the columns of the three array fields)
* The idea is to have three different views for each value field, so that you can add manually an index to each of these "branches".
* Create for each of the value fields (value0, value1, value2) an own projection view by taking into account the following
* Rename the respective value field (value0, value1, value2) to a common name, such as value and remove the other two value fields.
* Add for each of these projection views a new column in the output for the index of the value (array). You could call it for example index and provide as expressions "1", "2" and "3" depending on the "branch" that you are editing.
* Once you have created these three projection fields with each of them having a common name for the value and an index column, you could simply create a union view and selecting all of these three views as branches for the union.
* The result should be now as the desired view in your example.
Hope this helps!