Forum Discussion
itchyeyeballs
10 years agoImpactful Individual
Projecting Year by Year
Hi all, I'm looking to setup an analysis that projects current data forward for the next 10 years. My model has a fact table which is linked to a date dimension table. The date dimension has a gr...
SqlJason
10 years agoMemorable Member
You can create a new calculated column iin your fact table, which brings in the integer field from the Date table to the fact.
=RELATED(Date[YearIntColumn])
SqlJason
10 years agoMemorable Member
Or you can use this formula
MaxYear:=CALCULATE(MAX('Date'[YearInt]), CALCULATETABLE('Fact',ALL('Date'[Year])))
I just tested this formula in mine, and it works from what I understood of your requirements.