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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Diegoaraujo
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?

 

Thanks,

Diego

1 REPLY 1
lbendlin
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

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors