Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi All,
Can you tell me how to remove adatatsource from power Bi Desktp I have an old datasource which was local in my machine for test purpose  now when I published my project and tried to make a schedule refresh it's give an error because of the local excel file datasource  I removed the table from my modele but it did not remove the datasource
can you tell me how to just remove the datasource form Power BI desktop
Thanks all
Solved! Go to Solution.
 
					
				
		
HI @Hussienah
Please delete as shown below in Power Query Editor or press 'Delete' after selecting the table.
And if on the PBI desktop, click the three eplipses next to the table name which you use to create a measure and select delete as below.
 
					
				
		
HI @Hussienah
Please delete as shown below in Power Query Editor or press 'Delete' after selecting the table.
And if on the PBI desktop, click the three eplipses next to the table name which you use to create a measure and select delete as below.
@Hussienah , refer
In first link scroll down check , wrong solution marked
https://community.powerbi.com/t5/Desktop/Remove-existing-DataSource/td-p/1666
https://superuser.com/questions/1553875/how-to-remove-a-data-source-from-power-bi-desktop
https://docs.microsoft.com/en-us/rest/api/power-bi/gateways/deletedatasource
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 84 | |
| 49 | |
| 36 | |
| 31 | |
| 30 |