Forum Discussion

rowilli's avatar
rowilli
Microsoft Employee
4 years ago

How do I create a relationship between months in one table and dates in another? DAX-PowerQuery

I have three data files that need to be part of the data model. DIMDATE, FORECAST, BUDGET. 

BUDGET is for Fiscal Year, has multiple countries and 2 divisions, an amount for most months, sometime there is no budget for a division in one country for a month or two.

FORECAST has thousands of unique opportuinities with dates, division, country, etc.

DIMDATE has a day for each day in fiscal year, July 1, 2021 - June 30, 2022, Fiscal Month, Sort column, Day of Week, Month.

 

I can not create a relationship between Forecast and Budget.  I was told I need to either summarize my Forecast by month OR create a budget value for every day of the year for every country and division.  I have struggled to accomplish this.  Any assistance would be appreciated.  I can not write the DAX needed to show forecast against budget unless the there is relationship.  Also I am doing this in Excel not Power BI.

Thanks,

Rob Williams

2 Replies