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
Anonymous
Not applicable

Help please - "Token comma expected"

I am getting the issue 'token comma expected' in advanced query editor. Selecting 'show error' highlights "in" on the second last row - can anyone advise how to fix this?

@v-frfei-msft pls help. Thanks a lot

 

let
Source = Excel.Workbook(Web.Contents("https://esquel-my.sharepoint.com/personal/dungnthi_esquel_com/Documents/L%E1%BB%8Bch%20xe.xlsx"), null, true),
Table1_Table = Source{[Item="Table1",Kind="Table"]}[Data],
#"Changed Type" = Table.TransformColumnTypes(Table1_Table,{{"BUYER", type text}, {"LOT NO/JO #", type text}, {"STYLE ", type text}, {"PO ", type any}, {"PO QTY (Pcs)", Int64.Type}, {"BUYER PO DATE", type date}, {"EX_FACTORY DATE", type date}, {"CUT-OFF AT HAI PHONG", type datetime}, {"CUT-OFF AT FACTORY", type datetime}, {"CBM", type number}, {"VVMV- THÔNG TIN XE", type text}, {"SHIPMENT NO", type text}, {"CONT TYPE - SHIPPING LINE", type text}, {"WAREHOUSE", type text}, {"SHIP MODE", type text}, {"PIC", type text}, {"Status", type any}, {"Remark", type any}, {"PO loading sequence", type any}, {"Image shipmode", type any},
#"Filtered Rows" = Table.SelectRows(#"Changed Type", each true),
#"Changed Type1" = Table.TransformColumnTypes(#"Filtered Rows",{{"CUT-OFF AT FACTORY", type time}}),
#"Filtered Rows1" = Table.SelectRows(#"Changed Type1", each true)
in
#"Filtered Rows1"

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

The #ChangedType line isn't finished properly needs })

View solution in original post

1 REPLY 1
HotChilli
Super User
Super User

The #ChangedType line isn't finished properly needs })

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.