cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AnandRanga
Helper III
Helper III

how to remove any table or view from powerbi permanently ?

I  added some tables from server but Later I removed it from tables. But now it's asking for apply change and If I do apply change It tries to refresh that deleted table but powerbi doesn't contain that table so it gives me the error. when I reload it , it shows me the error:

 

Capture5.jpg

 

What is the solution for this?

 

2 ACCEPTED SOLUTIONS
mpo
Helper II
Helper II

Go to "Edit Queries", delete all queries which correspond to tables you want to delete,

 

Delete all measures or calculated columns which mention those tables,

 

Delete all relationships which involve those tables,

 

If none above helped, try refreshing queries one by one, to see if it helps or to see which one fails,

 

One you found problematic query, edit it,

  Select Source in "Query Settings",

  Refresh preview,

  Go through "Applied Steps" in order to see which one fails.

View solution in original post

v-sihou-msft
Microsoft
Microsoft

@AnandRanga

 

Based on the error message, some columns in your deleted table are referenced in other DAX formulas. You have to manually remove those referenced columns in other expresssions. Also delete the relationship to other related tables. 

 

Regards,

View solution in original post

2 REPLIES 2
v-sihou-msft
Microsoft
Microsoft

@AnandRanga

 

Based on the error message, some columns in your deleted table are referenced in other DAX formulas. You have to manually remove those referenced columns in other expresssions. Also delete the relationship to other related tables. 

 

Regards,

View solution in original post

mpo
Helper II
Helper II

Go to "Edit Queries", delete all queries which correspond to tables you want to delete,

 

Delete all measures or calculated columns which mention those tables,

 

Delete all relationships which involve those tables,

 

If none above helped, try refreshing queries one by one, to see if it helps or to see which one fails,

 

One you found problematic query, edit it,

  Select Source in "Query Settings",

  Refresh preview,

  Go through "Applied Steps" in order to see which one fails.

View solution in original post

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - September 30th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors