Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
I have below files in a folder and would like the calculation in data as per modification date (each file has 3 column and i would need to calculate difference on data from one date to another date, example date modified from Nov 2 - 14 Nov ) any help in this matter will be appreciated.
In below report its shows that on Nov 2 is 1340 and 14th Nov is 1670, I need to show the difference between two which is 330
Hi @msarfaraz,
You could have a try with the measue below.
Measure = CALCULATE(MAX('Table1'[Nights]))-CALCULATE(MIN('Table1'[Nights]))
Here is my test output.
If you still need help, please share some data sample which I could copy and make a test.
In addition, you could have a reference of the attachment.
Best Regards,
Cherry
Many thanks for your reply
In my case the modified data field is file modified date, have a look the pbix file below.
https://drive.google.com/open?id=1nkByOEV_XIZ9enkZZuXNahYhTa1Drusk
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 24 | |
| 24 | |
| 17 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 41 | |
| 39 | |
| 39 | |
| 39 |