Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
noamshn
Frequent Visitor

what is the best way to sort data to show different years?

Hello everyone,

in 2023 i started to work with PowerB and i found that it's a great system.

now in 2024 i have some problems with displaying the data of 2023 and 2024 together. what is the best way you know to save the data in a table so it will be the easiest and most simple to read with PowerBi?

right now I have the data in an excel file and there is a column for year and for month and then in powerbi it made me problems to read. is it the best way or there is another way to do it better?

Thank you in advance.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @noamshn ,

Thanks for reaching out to us with your requirement. Base on your description, it seems that you have the data in excel data, and want to show the data with different years. You can connect to excel file in Power BI Desktop and create the proper visual to display the data for good insights. Please refer the following links to get it:

Connect to Excel file:

Quickstart: Connect to data in Power BI Desktop - Power BI | Microsoft Learn

vyiruanmsft_0-1705479449847.png

Power BI Get Data From Excel: Everything You Need to Know - RADACAD

Visualization type:

Visualization types in Power BI - Power BI | Microsoft Learn

Create the visual to display the data from different years:

Filtering and comparing different time periods with Power BI - SQLBI

vyiruanmsft_0-1705483448979.png

Power BI line chart with multiple years of Sales/Time series Data — So many options!

Solved: Line chart - showing two different years of data ... - Microsoft Fabric Community

Best Regards

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @noamshn ,

Thanks for reaching out to us with your requirement. Base on your description, it seems that you have the data in excel data, and want to show the data with different years. You can connect to excel file in Power BI Desktop and create the proper visual to display the data for good insights. Please refer the following links to get it:

Connect to Excel file:

Quickstart: Connect to data in Power BI Desktop - Power BI | Microsoft Learn

vyiruanmsft_0-1705479449847.png

Power BI Get Data From Excel: Everything You Need to Know - RADACAD

Visualization type:

Visualization types in Power BI - Power BI | Microsoft Learn

Create the visual to display the data from different years:

Filtering and comparing different time periods with Power BI - SQLBI

vyiruanmsft_0-1705483448979.png

Power BI line chart with multiple years of Sales/Time series Data — So many options!

Solved: Line chart - showing two different years of data ... - Microsoft Fabric Community

Best Regards

Idrissshatila
Super User
Super User

hello @noamshn ,

 

you can create a calendar table and link it to your table on the date column.

 

check it out https://youtu.be/MhC4zj2byBQ?si=jHES9stUVRJOloSa

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors