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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
samnaw
Resolver I
Resolver I

Disconnect source but keep the table

Hello:

 

I have an issue where I have a xls sheet that I am connecting to. But this xls is on my desktop and I dont want it connected. I just want a table in PBI that is stand alone. 

 

Power Query

 

let
Source = Excel.Workbook(File.Contents("\\abc\abc\Desktop\Copy of Acc.xlsx"), null, true),
Sheet1_Sheet = Source{[Item="Sheet1",Kind="Sheet"]}[Data],
#"Promoted Headers" = Table.PromoteHeaders(Sheet1_Sheet, [PromoteAllScalars=true]),
#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"Cust_PrefStore", type text}, {"Nbr of New Loyalty Customers", Int64.Type}})
in
#"Changed Type"

 

------------------------------------------------------------------------------------

 

I dont want it linked. ("\\abc\abc\Desktop\Copy of Acc.xlsx"). Is this possible

 

 

2 REPLIES 2
Mycall65
Frequent Visitor

That won't work unless you have fewer than 3000 cells to upload

michaelx2
Microsoft Employee
Microsoft Employee

Hello @samnaw 

You may use 'Enter data' to create a table, copy the content from excel and paste the content to the table. 

 

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("{encrypted string}", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [Project = _t, StartTime = _t, EndTime = _t, Labor = _t, Note = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Project", type text}, {"StartTime", type datetime}, {"EndTime", type datetime}, {"Labor", type number}, {"Note", type text}})
in
    #"Changed Type"

 

Best Regards

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.