Hello Manyam,
You could represent data that way through a pivot table widget.
Appears there are two on the app store, This one and This one, unfortunately I’m not sure which is better – the second seems to be from a slightly later version but both were created in Mx 6.
Hope this helps