Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Getting a new table from existing spreadsheet with multiple tables

So I have an excel sheet having tables consisting of data from multiple years. I want to generate a new table with data from the respective year. I want also to have it such that, I don't have to manually update the function/query and rather depend on which year is it. Eg- This is the data and I want green as a result. Thanks


Super User
Super User


That data is in a very poor format.  You should ideally have a 4 column table (the fourth column being the year column).  That table should then be imported in PowerBI Desktop.

Ashish Mathur
Super User
Super User

Please provide sanitized sample data that fully covers your issue. I can only help you with meaningful sample data.
Please paste the data into a table in your post or use one of the file services like OneDrive or Google Drive.

Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.

Helpful resources


2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.