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

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

Reply
Anonymous
Not applicable

push file datasource info to binary content

Is there a way that I can push the creation date of a file I am using as a datasource to show as a column after I combine the file's binary data?

 

Thanks

J

 

Push date created to Binary Content.pngPush date created to Binary Content2.png

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Please try the solution mentioned in below link to see whether it works in your scenario.

Create a date custom column by file date

 

Best regards,

Yuliana Gu

 

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Please try the solution mentioned in below link to see whether it works in your scenario.

Create a date custom column by file date

 

Best regards,

Yuliana Gu

 

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
parry2k
Super User
Super User

IN edit queries under Transform thers is option calld "Fill" which can be used to fill down or up.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Thanks @parry2k.

I could not find how to do it the way you mentioned. I found a workaround, however.

 

  1. Combine the Binaries column
  2. PBI will add new query steps automatically
  3. Delete all steps after the Invoke Custom Function one. But keep this one.
  4. There will now be a new column available, at the end of the datasource table, called “transform file from [DataSourceName][FileName]”
  5. Click the button to expand it and you will have both file metadata and combined binaries as different columns

 

Not entirely sure on the caveats for this but it seems to work. Any thoughts?

Joaquim

Transform file.png

 

 

 

 

 

 

Anonymous
Not applicable

hmmm...

I am getting an error....

 

I understand it might be due to the workaround described above.

You reckon it is fixable?

 

let
Source = AuditsLog,
#"Added Index" = Table.AddIndexColumn(Source, "Row Number" ,1),
#"Kept Errors" = Table.SelectRowsWithErrors(#"Added Index", {"Name", "Extension", "Date accessed", "Date modified", "Date created", "Folder Path", "RevitVersion", "SourceFilePath", "SourceFileName", "DetailLineCount", "FilledRegionCount", "MaskingRegionCount", "TextNoteCount", "SelectedElementCount", "SheetCount", "PurgeableGroupTypeCount", "FileLength", "ElementCount", "JobFolderName", "LiveFiles", "RecordFiles"}),
#"Reordered Columns" = Table.ReorderColumns(#"Kept Errors", {"Row Number", "Name", "Extension", "Date accessed", "Date modified", "Date created", "Folder Path", "RevitVersion", "SourceFilePath", "SourceFileName", "DetailLineCount", "FilledRegionCount", "MaskingRegionCount", "TextNoteCount", "SelectedElementCount", "SheetCount", "PurgeableGroupTypeCount", "FileLength", "ElementCount", "JobFolderName", "LiveFiles", "RecordFiles"})
in
#"Reordered Columns"

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.