Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I am looking for someone to help me with a Python script to be able to load some folder data into a PowerBi dashboard, which gives me a table of the 'Last Modified' date/time.
So when I click 'Get Data' > 'From folder', I have an excel file which I have in this folder where the date and time of the 'last modified' date of a file is kept. This will be used to add a LAST REFRESHED 'card' to the dashboard so users know when it was last refreshed.
Can someone guide me how to do this using Python. For information - the dashboard is saved in a SharePoint. So the folder path currently looks like this: https://companyX.sharepoint.com/sites/Folder/Shared%20Documents/General/ExcelSpreadsheet.xlsx
Hello @Anonymous
question: Why are you not using the simple build-in function Folder.Files?
If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too
Have fun
Jimmy
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 5 | |
| 4 |