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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Helper II
Helper 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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors