Forum Discussion

PowerNewbieGR_1's avatar
PowerNewbieGR_1
Frequent Visitor
2 years ago
Solved

Multiyear in X-axis Multiline Time Series chart

Dear all,

I have the following data table which basically continues using those same three columns (Country Name, Total Bank Deposits, Year) providing data for 25 countries for the years 2015-2023.

 

The column 'Year' is formatted as an integer and not as a date (to avoid having each year turn to 1905). 'Total Deposits' is formatted as a decimal (but if need be I can turn it into an integer since my research does not focus on small, decimal-related differences) and 'Country Name' is a text column.  I am trying to create a line chart where the y-axis will show the Total Deposits, the x-axis will show the years and each line will be of a different color and correspond to each country like the following :

 

So far Power BI keeps counting the years and presenting with the chart below :


Any ideas on how I can achieve it are highly appreciated.

 

Thanks a lot

 

 

4 Replies