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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Data Flow: Import files from folder but when the creation date matches a data in a custom calendar

I have done this in Power Query Desktop and it works fine but it gives me error in Data Flow.

 

I am importing multiple files from sharepoint folder location but before combining them I would like to filter filenames if the File Creation Date matches a calendar. I have created a calendar list and I use List.Contains function to check if the date in the Date Creation column matches in the list. Once those files are filtered then I'd like to combine the files and expand. It works fine in Power Query but Data Flow is giving me error in the "Binary" column.

 

Cannot convert the value "[Binary]" to type Binary

1 ACCEPTED SOLUTION

Hey @Anonymous ,

 

This thread solved the issue through privacy level settings:

Solved: Re: Underlying error message: We cannot convert th... - Microsoft Power BI Community

And, i found a few threads that talked about it being a firewall issue - here is an older post about that : Expression.Error: Cannot convert the value "[Function]" to type Function (microsoft.com)

and this not as old one: Power Query Errors: Please Rebuild This Data CombinationThe Excelguru Blog

Let us know!




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




View solution in original post

4 REPLIES 4
collinq
Super User
Super User

HI @Anonymous ,

 

I found this thread that seems to be similar - it has a few suggestions in it.  Let me know if this was helpful.

Solved: Expression.Error: We cannot convert the value "[Bi... - Microsoft Power BI Community




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Anonymous
Not applicable

My problem occurs not at combing stage but adding a column with the following code

List.Contains(Calendar,[Date created])

 

It changes the Content column to [Error]

sz_0-1620070334047.png

which says

Expression.Error: We cannot convert the value "[Binary]" to type Binary.

Hey @Anonymous ,

 

This thread solved the issue through privacy level settings:

Solved: Re: Underlying error message: We cannot convert th... - Microsoft Power BI Community

And, i found a few threads that talked about it being a firewall issue - here is an older post about that : Expression.Error: Cannot convert the value "[Function]" to type Function (microsoft.com)

and this not as old one: Power Query Errors: Please Rebuild This Data CombinationThe Excelguru Blog

Let us know!




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Anonymous
Not applicable

well the firewall argument can't be valid since i'm using sharepoint url as data source and Data Flow doesn't allow me to use gateway for it since they are publicly accessible urls.

 

but it was certainly privacy related. Privacy settings in Data Flow is tricky and Chris Webb's blog was useful.
Chris Webb's BI Blog: Power BI Data Privacy Levels And Cloud /Web-Based Data Sources Or Dataflows Ch...

 

Thank you for your help

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors