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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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