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
msarfaraz
Frequent Visitor

Data table Calculation from Same folder

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

 

 

Data file1.JPGData file.JPG

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

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.

 

result.PNG

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

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

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

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.