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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Adding Data to an existing worksheet

I would like to add weekly data to a worksheet, to have accumulating data, how do I do that in Power BI?

5 REPLIES 5
amitchandak
Super User
Super User

@Anonymous , we do not know your data structure, try  like

Last week value = Maxx(FILTER('Table','Table'[week]<EARLIER('Table'[week])),lastnonblankvalue('Table'[week],sum('Table'[amount])))

 

Can you share sample data and sample output in table format?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Good morning,

 

I am very very new to PowerBI......I have watch multiple beginner tutorials and still very confused on how this program works.

 

My file has 47 columns and each week we have approx 35k rows....there is a lot of data - for that reason I am attempting to use PowerBI due to the hugh files in excel.....

 

For example, in my excel file, if June 4th had 35K rows (with the 47 columns) on June 11th, I would add another 35K rows (depending on how many transactions we had that week) and on June 18th I would add another 35K row (again according to how many transactions we had that week), so on and so forth.

 

I tried to add a sample file but do not not how to get the url (?)

 

As I mentioned above, I have watch several beginner tutorials and still completely lost on how to use this program.  Can you recommend a very, very basic tutorial?  I would only be using Excel files to upload/import.  What is the difference between upload and import?

Hi, @Anonymous 

 

You may click 'Refresh' button to update data weekly. Then you can aggregate data by week ang try what is suggested by @ryan_mayu . About the import and Direct Query mode, please refer to the document .

Best Regards

Allan

 

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

ryan_mayu
Super User
Super User

@Anonymous 

you can create a column

Column = SUMX(FILTER('Table','Table'[week]<=EARLIER('Table'[week])),'Table'[amount])

1.PNG

or you can create a measure

Measure = 
VAR  _week=SELECTEDVALUE('Table'[week])
return SUMX(FILTER(all('Table'),'Table'[week]<=_week),'Table'[amount])

2.PNG

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

My file has 47 columns.  Each week approx 35K transactions. 

 

I don't believe either suggestion would work.....I need to add approx 35K rows with 47 columns each week.

 

Any other suggestions?

 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors