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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
singleton2787
Helper III
Helper III

We cannot apply field access to the type Binary

Why am I getting this error?

=========

An error occurred in the ‘GetWorkItemIds’ query. Expression.Error: We cannot apply field access to the type Binary.
Details:
Value=[Binary]
Key=workItems

===========

let
GetWorkItemIds = () =>
let
Source = Web.Contents("https://genericwebsite.visualstudio.com/DefaultCollection/project/_apis/wit/wiql/704eb4c2-2776-4c66-..."),
workItems = Source[workItems],
#"Converted to Table" = Table.FromList(workItems, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Expand Ids" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"id"}, {"Work Item Id"})
in
#"Expand Ids"
in
GetWorkItemIds

1 REPLY 1
v-jianboli-msft
Community Support
Community Support

Hi @singleton2787 ,

 

From your description, it looks like there may be a data type error.

What is your workItems?

Please check if your M code and data source have any conflicts.

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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