Reply
avatar user
Anonymous
Not applicable
Partially syndicated - Outbound

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

.pwerbi.PNG

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Syndicated - Outbound

Hi,

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.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
lbendlin
Super User
Super User

Syndicated - Outbound

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.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...

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

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)