Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Sorted Import from Flat File



I receive flat files once a month over the last 2 years' sales. However, there might be some changes to the data that have occurred since the last time I got the data. Therefore I need to make sure that I have the latest data in my model.

So after I have appended them I Remove the Duplicates from the file. So far so good.


But Is there a way where I can sort my data and say "I want to import this data and after this, I can take this data"?


Best Regards Kent

Frequent Visitor

Thanks Ibendlin,


I managed to take out the lines that I needed instead. 


Br Kent

Super User
Super User

For that to work you need two data points


- a unique transaction identifier

- a "modified"  timestamp for each row (unless you can proxy that with the file name or file date  for your files)


I would recommend against any attempt at sorting. Handle it via DAX .

Helpful resources

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Dev Camp Session 22 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!