Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Kent1341
Helper I
Helper I

Sorted Import from Flat File

Hi 

 

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

2 REPLIES 2
Kent1341
Helper I
Helper I

Thanks Ibendlin,

 

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

 

Br Kent

lbendlin
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

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.