cancel
Showing results for 
Search instead for 
Did you mean: 
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

Re: Data table Calculation from Same folder

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

Re: Data table Calculation from Same folder

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
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors