week to week data analysis based on the excel file date -Power BI

SAXON10

Board Regular
Joined
Jun 1, 2017
Messages
109
Hi,

Our daily sales data stored in Excel under the "sales" folder. I am trying to compare "Monday Last week's Sales" with "Monday this week's Sales" based on the date.
I would like to create a new table to achieve my result - What are the item are newly added (unique) from Monday last week sales compare to Monday this week's Sales. I don’t want to change the file reference manually every week. How can I automate these process in Power BI. Can you please advise the best alternative way?

The file name is standard TRPP_EXTRACT, only the date and time will be changed on daily basis. The data contain two headers are item and sales area. The item and sales area can be unique some of the files and some of the files are duplicated/repeated.

Sales Data stored in Excel like this under the Sales folder. (Note: The date not stored in my data (inside the Excel). Date showing only my Excel file).

TRPP_EXTRACT_2020_11_16_08-01-20
TRPP_EXTRACT_2020_11_15_08-01-20
TRPP_EXTRACT_2020_11_14_08-01-10
TRPP_EXTRACT_2020_11_13_08-01-30
TRPP_EXTRACT_2020_11_12_08-01-40
TRPP_EXTRACT_2020_11_12_08-01-50
TRPP_EXTRACT_2020_11_10_08-01-10
TRPP_EXTRACT_2020_11_09_08-01-20

I would like to compare last week Monday sales data (TRPP_EXTRACT_2020_11_09_08-01-20) and this week Monday sales data (TRPP_EXTRACT_2020_11_16_08-01-20). Next week date will be automatically analysis from (TRPP_EXTRACT_2020_11_16_08-01-20) to (TRPP_EXTRACT_2020_11_23_08-01-20)

Example of Result.
COMPARE WEEKS.PNG

Files; - Monday's data.(Last two weeks only)

TRPP_EXTRACT_2020_11_16_08-01-20.xlsx (with duplicate line item)
TRPP_EXTRACT_2020_11_09_08-00-18.xlsx ((without duplicate line item)
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top