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
Nbryska
New Member

Token Comma Expected turned into Expression.Error

Had an issue where there was a 'Token Comma Expected' error so I deleted what seemed to be additional { and ( symbols. Code reads:

 

= Table.ReorderColumns(#"Kept Errors", {"Row Number", "PartnerName", "PartnerID", "InvoicedSales", "ItemCost", "InvoicedMargin", "Total Tech. Supp. Cases", "Change in Tech Cases from Prev. Qtr.", "RMA's", "Top Storefront % ofSales", "Top Storefront", "Buys local Y/N", "3P Revenue", "1P Revenue", "% of Sales from 3p", "Average Cases prev. 2 Qrtrs", "Tech Case cost", "Support case % of margin", "Partner Revenue - call costs", "Average Revenue prev. 2 qrtrs", "Credit status (arrears, at limit, current)", "Product Category Penetration", "Previous qtr # of product categories", "Top sales category", "Top sales category amount", "Top category % of total sales", "Charter", "Territory", "Zip Code", "Snap Store Rewards Level", "OvrC Y/N?", "# increase of OvrC (1P) cnncted products from prev. qrtr.", "NPS", "Score", "Score change from prev. qrtr.", "Score %", "Opportunity"})

 

and the error message is:

 

An error occurred in the ‘Partner data’ query. Expression.Error: 32 arguments were passed to a function which expects between 2 and 3.
Details:
Pattern=
Arguments=[List]

2 REPLIES 2
amitchandak
Super User
Super User

@Nbryska , this one seems correct. Can you share few more lines with error screenshot

That was the entire error message. I think I made the mistake of deleting columns from the Excel source file and then updating in Power BI. That is what created the original error and now PBI will not link correctly to the remaining source columns.

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.