SQL Table refresh

Copper Contributor

Hello Community,

 need your help on this ( i am not able to attach files so pasting a sample of table)
I have a table as per the below structure

Run DateRegionManagersupplierpartspend
10-Mar-23Region3Manager3Suppr2Part318891
10-Mar-23Region1Manager1Suppr2Part310824
10-Mar-23Region3Manager2Suppr3Part214979
10-Mar-23Region3Manager2Suppr1Part315868
10-Mar-23Region1Manager2Suppr3Part315111
10-Mar-23Region1Manager2Suppr1Part219506

my organization does not grant create table access on the server so workaround is to dump the above table into Access DB which i will use to create reports in Power BI.

 

The ask here is the owner of this table will refresh spend values for the existing dataset without altering the table structure and  append data only in case a new region or a new manager or a new supplier has sent the data every before fiscal month run.

the april run month table is now like this(Red ones are the new data received)

Run DateRegionManagersupplierpartspend
10-Apr-23Region3Manager3Suppr2Part377036
10-Apr-23Region1Manager1Suppr2Part3366771
10-Apr-23Region3Manager2Suppr3Part2100775
10-Apr-23Region3Manager2Suppr1Part3434291
10-Apr-23Region1Manager2Suppr3Part3169688
10-Apr-23Region1Manager2Suppr1Part275593
10-Apr-23Region 2Manager4Suppr1Part2340684
10-Apr-23Region 2Manager4Suppr4Part4253959
10-Apr-23Region 2Manager1Suppr4part1341101
10-Apr-23Region 4Manager2Suppr2Part528213
10-Apr-23Region 4Manager3Suppr3part142718

 

what i need is there should be some way to keep the old data table in access and a new column/table is added as per run date so that i can substract values from previous run to current run and check which region > manager> supplier> part has shown a high variance.

 

 

0 Replies