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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
mb0307
Responsive Resident
Responsive Resident

Add weekly data

Hi,

 

Please download 3 sample excels file from here:

FILE DOWNLOAD 

 

Week1 file is the main file and I want to merge (not aggregate) all the records from other weeks (week2 and 3) into Week1.

 

As you can imagine data will get bigger by each week so I just want incremental refresh for new file without updating existing data every time.

 

Can you provide instructions in steps please? 

 

Thanks

  

4 REPLIES 4
v-alq-msft
Community Support
Community Support

Hi, @mb0307 

 

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

Week1:

a1.png

 

Week2:

a2.png

 

Week3:

a3.png

 

Sales:

b1.png

 

Please make sure 'Week1', 'Week2', 'Week3' are in the same folder. You may use folder connector to get the data in each file which has same columns and each file in the a sheet which has the same name.

a5.png

 

a6.png

 

When you get the data from data source, it displays as below.

a7.png

 

a8.png

 

Finally you need to add a new step for 'Sales'. You may go to 'Query Editor'=>'Add Columns'=>'Custom Column', input codes as below.

 

let 
weeknum = [WeekNum], 
tab = Table.SelectRows(week,each [WeekNum]=weeknum),
sum = List.Sum(Table.Column(tab,"Sales"))
in 
sum

 

 

Result:

a9.png

 

For further information, you may 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.

mb0307
Responsive Resident
Responsive Resident

@v-alq-msft   Thanks for your response.  Sorry this is not what I am after.

 

Please download 3 sample excels file from here:

FILE DOWNLOAD 

 

Week1 file is the main file and I want to merge (not aggregate) all the records from other weeks (week2 and 3) into Week1.

 

As you can imagine data will get bigger by each week so I just want incremental refresh for new file without updating existing data every time.

 

Can you provide instructions in steps as you did in your reply please? 

 

Thanks in advance.

Hi, @mb0307 

 

Incremental refresh is now available to Power BI Pro, Premium, and shared subscriptions and datasets. You need to set RangeStart and RangeEnd parameters and use them to filer the data in 'Query Editor'. Then you may define the incremental refresh policy for specific table. For further information, you may 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.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors