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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
studentofdata
New Member

Cannot add column to table in Power Query because "Database is in restricted mode"

I imported a table of data into Power Query but cannot create a new column. When I try to split the column or do any transformation, I get this error message:

 

DataSource.Error: Microsoft SQL: Database 'SANDBOX' is in restricted mode. Only the database owner a...

 

Why am I getting this error and is there any way around it? I was under the impression that I've loaded the data and have the freedom to do any transformations. I am not making any changes to the table in MS SQL Server so I don't understand why this message is appearing.

 

All I'm trying to do is split a date&time column into two seperate columns (i.e., one column for date, another column for time).

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@studentofdata , I doubt this table is in direct query mode ,

 

check https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-storage-mode

 

storage-mode-02

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak

 

Thank you for your help.

 

The storage mode of my tables already says "Import". Is there anything else I should do?

 

studentofdata_0-1615540656878.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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