Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

populating table/matrix based on row&column combination

Lets say I have a dataset which contains the timeseries for the swap rates of 3 countries (EUR, USD, GBP) & 3 tenors (2y, 5y, 10y)
the column headers are
[date EUR2Y EUR5Y EUR10Y USD2Y USD5Y USD10Y GBP2Y GBP5Y GBP10Y]

I want create a visual in a report which shows the data as table/matrix with on the rows the countries and the columns the tenors:
             2y 5y 10y
EUR     x   x     x
GBP     x   x    x
USD      x   x    x

How can I lookup the value corresponding to the row and column value. for example in the intersection of GBP and 10Y the table should look for the value in columnheader GBP10Y in the dataset.

  • Anonymous 

    maybe you can try

    1. select date and unpivot other columns

    2. split attribute column

2 Replies

  • Anonymous 

    maybe you can try

    1. select date and unpivot other columns

    2. split attribute column

  • Anonymous's avatar
    Anonymous
    Not applicable

    thanks Ryan!