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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

How to show sharepoint creation date for files in power bi?

I have 4 files in a folder. Not when i am combining those files and expanding them, date creation column is not coming up?

 

in simple words, how to show file creation date in power bi as column? 

1 ACCEPTED SOLUTION
v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous, 

 

In Power BI desktop Query Editor, after we retrieve files in SharePoint online folder, the [Date created] column displays as before before using Combine Files feature. 

 

w1.PNG

 

After we use Combine Files feature, the table shows like below: 

 

w2.PNG

 

To add a column returns [Date created] column values for each file, we can do it like below: 

 

w3.PNGw4.PNG

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
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
itskool
Advocate II
Advocate II

In the meantime, I think, I have found a way around the problem:

When you combine Sharepoint files, Power BI automatically created "Removed Other Columns" step, which makes it only leave the Source Name. If you add "Date created" there, it's going to leave it too.

It is fast and also works if you have file with identical names (say, in different folders).

itskool_0-1654009043667.png

 

This is a much better solution. Simple and fast

v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous, 

 

In Power BI desktop Query Editor, after we retrieve files in SharePoint online folder, the [Date created] column displays as before before using Combine Files feature. 

 

w1.PNG

 

After we use Combine Files feature, the table shows like below: 

 

w2.PNG

 

To add a column returns [Date created] column values for each file, we can do it like below: 

 

w3.PNGw4.PNG

 

Best Regards,
Qiuyun Yu 

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

Thanks for the solution!

Although, when I tried it, it made things really slow, subsequent grouping that I needed to perform took several hours...

Is there a way to aviod that? My data is not that big, just about 80 files....

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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