Showing results for 
Search instead for 
Did you mean: 
New Member

How to change the data source of a model and run the existing queries?

I created a model based on excel file. after connecting to the data source (which is the his excel file) I created several steps and measures.

Now I realized that it could be better to used a pivot table (which is in anotehr excel file) as a data source, instead of the first excel file.

The layout is the same in both excel file and pivot table file (1st and 2nd file).

When I change the data source to the pivot table excel file, it gives me error and I cannot connect it properly nor use the steps that I created beforehand.

Error presented when trying to load new data source: "The key don't match any rows in the table".

How to make that?




Super User
Super User

As far as I know you cannot connect to Pivot tables. You can connect to sheets, ranges, or tables.

Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors