Cannot create link table

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
I have trouble accessing the Excel file from my computer. Perhaps that's why no one has helped. Can you describe your problem on this thread?
 
Upvote 0
Hi,

detail is as below

StoreList table has StoreNo Name Province City
(this table has around 450 stores info)

SalesData table has StoreNo Date SalesTY SalesLY Month
(450 stores sales information on day wise
Month is calculated column =format([DATE],"mmm")

Target table has StoreNo Date Target
(450 store target mothly, ie date 1/1/2015 for jan target, date 1/2/2015 for Feb target so on..)

Relationship [SalesData]Storeno with [StoreList]StoreNo
[Target]StoreNo with [StoreList]StoreNo



Pivot Table has
Province & City on Row
Sum of SalesLY , Sum of SalesTY & Target on Values
Month on Filter

My issue : when i select Month from filter SalesLY & SalesTY shows correct value but Target is not changing.
i tried to make Relationship [SalesData]Date with [Target]Date but I cant


valuable advise expected..
 
Upvote 0
Make a date table, i.e. a continuous list of dates with no duplicates. The minimum date should be the lowest date in your entire data model and the maximum should be the maximum in your entire data model.

Connect SalesData[Date] and Target[Date] to DateTable[Date]. Add DateTable[Date] to the filter.
 
Upvote 0
Hi
thank you for the response,

Tried your suggestion, still is the target is showing wrong (all the cities showing same target). reason may be there is no relation [StoreList] and [DateTable]

I need the 'Month' to the filter, reason is the report is a monthly report not a daywise report.

Eg: assume 20 days sales are updated in Jan month.
Then if i select Jan from the filter the report should be

CityName SalesLY SalesTY Target

(sales detail will be 1 to 20th sales total & target for Jan)

hope my problem is clear now.....
 
Upvote 0
Please click here to download a working model of what you described.

It's an Excel 2013 data model. If you can't view it in Excel (due to having Excel 2010, perhaps) then you can convert it using PowerBI's import wizard to view the data model.
 
Upvote 0
hi,

i was not related [Target]StoreNo and [StoreList]Store.

solution got from your file, thanks a lot.
 
Upvote 0

Forum statistics

Threads
1,224,144
Messages
6,176,648
Members
452,739
Latest member
SCEducator

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