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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Anonymous
Not applicable

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 @Anonymous ,

 

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
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors
Top Kudoed Authors