cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kanivan
Frequent Visitor

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.

1 ACCEPTED SOLUTION
ryan_mayu
Super User II
Super User II

@Kanivan 

maybe you can try

1. select date and unpivot other columns

1.PNG

2. split attribute column

2.PNG3.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Kanivan
Frequent Visitor

thanks Ryan!

ryan_mayu
Super User II
Super User II

@Kanivan 

maybe you can try

1. select date and unpivot other columns

1.PNG

2. split attribute column

2.PNG3.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Urdu Hindi D365 Bootcamp 768x460.png

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors