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

Record date of file upload and store values in table as moment in time: Pipeline

Hi all

New to Power BI.

 

I have a .csv file which is uploaded on 1st month for opening pipeline and stored in the same SharePoint folder.

the file will always be called 'Pipeline.csv' 

I want to read the file, record the 'month' it was uploaded and store this in a table as a 'moment in time' table.

I.e. 

Feb'20 file: sum a column against each employee.

Table would be:

Employee, Month & Year, Pipleline £

John Smith, Feb'20, £20K

 

Each month the file is updated, if Feb'20 is already stored, ignore refresh until new month upload shows next month.

I.e. Mar'20, then record this data in table, so table would now look like:

 

Employee, Month & Year, Pipleline £

John Smith, Feb'20, £20K

John Smith, Mar'20, £40K

 

Can anyone advise or suggest tutorials that would cover what I need?

 

Many thanks

 

 

3 REPLIES 3
v-lionel-msft
Community Support
Community Support

Hi @melimob ,

 

I can offer the same advice as @Greg_Deckler @amitchandak  do.

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Super User
Super User

Power BI normally refreshes everything. Basically, drop table and then import. What it sounds like you want is essentially incremental refresh. While incremental refresh is available in Pro, I do not believe it supports CSV files. Your best bet is to actually dump your CSV files into a folder with different names and then use a Folder query to import all of them and append them together.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
amitchandak
Super User
Super User

You can do sum of the pipeline and show it with a name and month that will do. if you have data at the day level, Create a date calendar, create a month year in that and use that

 

Total Pipleline £ = sum(table[Pipleline £]).

You can watch the course, but that will cover the concepts, not the exact solution.

You Tube : https://youtu.be/m1eLTtZHGs4 

https://youtu.be/W0mG3KFR3Hw 

https://youtu.be/3u7MQz1EyPY

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.