This should be possible using a pivot table.
You'll need to link your Title Lables to the fields:
LOAD * INLINE [
title, field, value
A, f1, 1
A, f2, 2
A, f3, 3
B, f4, 4
Then create a pivot table with dimensions title and field and as expression e.g. only(value).
Drag the two dimensions to the top.
Hope this helps,