Reporting & Analytics

A closer look at the SEK exchange rate development using Power BI

Blog

A closer look at the SEK exchange rate development using Power BI

In this blog post, we are going to go behind the scenes of the development of two reports available in our Portfolio. These reports read data from the Swedish central bank – the Riksbank – directly to Power BI. We do so by utilising the REST APIs provided by the Riksbank. REST API stands for REpresentational State Transfer API, and it is a common way of structuring and accessing data in a programmatic way.

Background on REST APIs

Some REST APIs have security measures in place, so that only authorised users can access the data. The user then has to send credentials by using the API, and if they are verified correctly, data can be read. With the Riksbank’s API it is not required with credentials. Hence, this guide is going to skip that part, and we are only reading, not writing, data when using the API. We are going to access interest rates for the SWESTR which is a reference rate with short duration (overnight rate). For more information about SWESTR, please see the Riksbank’s website.

Our Power BI report, called Swedish krona (SEK) exchange rates & bond yields, presents the SEK performance against an array of currencies. It also presents the SEK bond yields as well as the bond yields for select currencies. The data is read from the Swedish central bank – the Riksbank – and it goes back to 2010. We will here review the SEK exchange rate performance.

To start with, the report has a table with quarterly development since 2010. The user can expand to see the performance either per quarter or per month.

SEK exchange rate development since 2010

The total development since 2010 is presented and some highlights are:

  • SEK has strengthened vs JPY by 7%
  • SEK has strengthened vs NOK by 20%
  • SEK has weakened vs CHF by 75%
  • SEK has weakened vs EUR by 10%

We also present a chart and a filter possibility with respect to the date range and currencies of interest. Here, the user wants to review SEK performance vs JPY, NOK, CHF and EUR since 2018.

SEK exchange rate development against CHF, EUR, JPY and NOK

To further help the user understand possible reasons behind the development, the report presents the bond yields for the currencies where such data is available. For example, here the user reviews JPY and SEK bond yields since 2019. Also the so called “bond spreads”, in this case the difference between 10 years yield and 5 years yield, are presented. If, for example 5 years yield is much higher than the 10 years yield, one scenario could be that investors might skip investments in the 10 years as the 5 years offers higher yield with shorter “lock-up” period. In addition, the exchange rate development is overlaid in two of the charts, in order to show the correlation between bond yields and exchange rate for the selected currencies.

The development of SEK and JPY bond yields and exchange rates since 2019

Finally, the report ends with an extensive summary page. The development is evaluated in many different time periods, for example quarter-to-date (QTD), vs 1 year ago, vs 5 years ago and vs 10 years ago. This gives both an emphasis on the more recent values but also gives some history without the need of adding charts.

An extensive summary page with multiple comparisons

More blog posts

On the development of SWESTR in May 2024

We analyse the development of the SWESTR in May 2024. We use a Power BI report and also review the...

On the development of the SEK exchange rates & bond yields in May 2024

We analyse the development of the SEK exchange rates & bond yields in May 2024. We use a Power BI...

On the development of the SEK exchange rates & bond yields in April 2024

We analyse the development of the SEK exchange rates & bond yields in April 2024. We use a Power BI...

On the development of the NOK exchange rates & bond yields in March and Q1 2024

We analyse the development of the NOK exchange rates & bond yields in March and Q1 2024. We use a...

On the development of SWESTR in March and Q1 2024

We analyse the development of the SWESTR in March and Q1 2024. We use a Power BI report and also...

On the development of the SEK exchange rates & bond yields in March and Q1 2024

We analyse the development of the SEK exchange rates & bond yields in March and Q1 2024. We use a...

On the development of the SWESTR in February 2024

We analyse the development of the SWESTR in February 2024. We use a Power BI report and also analyse...

On the development of the NOK exchange rates & bond yields in February 2024

In this blog post, we will analyse the development of the NOK exchange rates in February 2024. We...

On the development of the SEK exchange rates & bond yields in February 2024

We analyse the development of the SEK exchange rates and bond yields in February 2024. We use a...

A closer look at the SEK exchange rate development using Power BI Read More »

Get data Power BI

How to read data from a REST API To Power BI – using Swedish central bank data as example

Blog

How to read data from a REST API to Power BI – using Swedish central bank data as example

In this blog post, we are going to go behind the scenes of the development of two reports available in our Portfolio. These reports read data from the Swedish central bank – the Riksbank – directly to Power BI. We do so by utilising the REST APIs provided by the Riksbank. REST API stands for REpresentational State Transfer API, and it is a common way of structuring and accessing data in a programmatic way.

Background on REST APIs

Some REST APIs have security measures in place, so that only authorised users can access the data. The user then has to send credentials by using the API, and if they are verified correctly, data can be read. With the Riksbank’s API it is not required with credentials. Hence, this guide is going to skip that part, and we are only reading, not writing, data when using the API. We are going to access interest rates for the SWESTR which is a reference rate with short duration (overnight rate). For more information about SWESTR, please see the Riksbank’s website.

How to read data from a REST API to Power BI

The user starts by going to Get data in Power BI. It is going to look like this, and then the user selects “Web” in the list.

Get Data Power BI

From the Riksbank’s website, we see that the request to get all the interest rate values is:

https://api.riksbank.se/swestr/v1/all/{interestRateId}?fromDate={fromDate}[&toDate]

We also read that interestRateId = SWESTR shall be used and we set fromDate = 2023-01-01. The toDate is optional, as indicated by [], and we skip it. It will then read all the data up until today. The request will look like:

https://api.riksbank.se/swestr/v1/all/SWESTR?fromDate=2023-01-01

We simply add that to the URL requested in Power BI.

Read data from REST API to Power BI

The user gets the data from 1st January 2023 in return. Each row of the data is the data for that day, for example the interest rate and the volume during that day.

Data has been read from the Riksbank's REST API to Power BI

The data connection is now established, and it is now easy to refresh by a single click in Power BI.

For more information about the APIs provided by the Riksbank, please see their documentation.

More blog posts

On the development of SWESTR in May 2024

We analyse the development of the SWESTR in May 2024. We use a Power BI report and also review the...

On the development of the SEK exchange rates & bond yields in May 2024

We analyse the development of the SEK exchange rates & bond yields in May 2024. We use a Power BI...

On the development of the SEK exchange rates & bond yields in April 2024

We analyse the development of the SEK exchange rates & bond yields in April 2024. We use a Power BI...

On the development of the NOK exchange rates & bond yields in March and Q1 2024

We analyse the development of the NOK exchange rates & bond yields in March and Q1 2024. We use a...

On the development of SWESTR in March and Q1 2024

We analyse the development of the SWESTR in March and Q1 2024. We use a Power BI report and also...

On the development of the SEK exchange rates & bond yields in March and Q1 2024

We analyse the development of the SEK exchange rates & bond yields in March and Q1 2024. We use a...

On the development of the SWESTR in February 2024

We analyse the development of the SWESTR in February 2024. We use a Power BI report and also analyse...

On the development of the NOK exchange rates & bond yields in February 2024

In this blog post, we will analyse the development of the NOK exchange rates in February 2024. We...

On the development of the SEK exchange rates & bond yields in February 2024

We analyse the development of the SEK exchange rates and bond yields in February 2024. We use a...

How to read data from a REST API To Power BI – using Swedish central bank data as example Read More »

Considerations of SMEs’ reporting & analytics capabilities

Blog

Considerations of SME’s reporting & analytics capabilities

For small-to-medium enterprises (SMEs), choosing how to report and analyse business performance can be tricky. The needs can also vary largely depending on industry and company size. For example, the medium-sized tech company with 15 employees with ambitions to upscale their business and attract external capital, might need sophisticated reporting solutions. The company will benefit in the external communication, and if also the right analytics capabilities are built (and used!), the chances of upscaling the business will be higher. On the other hand, the small hotel with 10 rooms, might not need the same sophistication, and it might even be so that the business can be well understood without advanced analytics tools. We would argue, however, that both businesses will benefit by automating some, if not most of their reporting and streamlining their performance monitoring.

For example, the hotel might have good overview of bookings by their booking tool. They might handle their financials in another accounting software or with Microsoft Excel. As a third component, they might get user satisfaction data from Google or by other means, like Tripadvisor. To truly integrate all the data streams needed might be a bit too much here. However, they should be able to automatically extract their booking statistics and combine it with their financials, and come up with, say, 10 KPIs to track. How does their historical booking numbers in Q4 (October – December) correlate with their financial performance in the same time period, and how does it compare to the other quarters? What is the sensitivity in the booking rate on the financials, meaning how has +/- 10% in booking rate historically impacted the financials? Perhaps +10% is usually a nice bonus, but -10% is a disaster. That could then impact the whole business steering and the -10% is to be avoided at all costs.

As a general advice for businesses relating to the hotel scenario, they can gain time and business insight by automating some of their KPIs. There will be an upfront investment to build a sophisticated data solution with data extraction, calculations, merges, presentation etc., but also running costs such as license costs for data extraction and cloud costs. Smaller businesses might also be more vulnerable to security issues, so that is also an important consideration. An advice would be to limit the data that you want to analyse and also to anonymise the data. Even if the developer considers security aspects in the development, a data issue might occur by a 3rd party such as the selected cloud provider. If you do not have an IT person at hand in your business, the lead times will be longer and the exposure larger.

The advices are therefore to:

  • Decide on, and limit, the ambition – for example to develop a report with 10 KPIs covering the business
  • Decide on the security requirements
  • Decide on the budget – both for upfront costs and for maintenance

In the case with the scale-up tech company, there will likely be better IT resources available. The ambition will also need to be higher – for two reasons. The accuracy of the business performance and also the depth at which the business can be analysed, will have to be higher to attract external capital. The data can also be used to guide the company in the growing phase, for example, they can benefit from understanding their position vs the competitors. That is not to say the company needs to have a data-driven steering. Some companies might prefer a “feelings” approach to steering, but arguably they can benefit from having analytics capabilities in some way or form. In general, the same advices apply here – ambition, security requirements and budget.

More blog posts

On the development of SWESTR in May 2024

We analyse the development of the SWESTR in May 2024. We use a Power BI report and also review the...

On the development of the SEK exchange rates & bond yields in May 2024

We analyse the development of the SEK exchange rates & bond yields in May 2024. We use a Power BI...

On the development of the SEK exchange rates & bond yields in April 2024

We analyse the development of the SEK exchange rates & bond yields in April 2024. We use a Power BI...

On the development of the NOK exchange rates & bond yields in March and Q1 2024

We analyse the development of the NOK exchange rates & bond yields in March and Q1 2024. We use a...

On the development of SWESTR in March and Q1 2024

We analyse the development of the SWESTR in March and Q1 2024. We use a Power BI report and also...

On the development of the SEK exchange rates & bond yields in March and Q1 2024

We analyse the development of the SEK exchange rates & bond yields in March and Q1 2024. We use a...

On the development of the SWESTR in February 2024

We analyse the development of the SWESTR in February 2024. We use a Power BI report and also analyse...

On the development of the NOK exchange rates & bond yields in February 2024

In this blog post, we will analyse the development of the NOK exchange rates in February 2024. We...

On the development of the SEK exchange rates & bond yields in February 2024

We analyse the development of the SEK exchange rates and bond yields in February 2024. We use a...

Considerations of SMEs’ reporting & analytics capabilities Read More »