Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Design question

Hello! I am working on a developing a set of financial reports. Currently everything is being done in Excel. I am trying to fit that data into model. Now I have Project wise Budget, Actual and Forec...
  • Anonymous's avatar
    Anonymous
    7 years ago

    Anonymous  if every record is at the same granularity, then yes, Option 1 should lead to a more optimized model.  Tall and narrow fact columns tend to compress better.  Just be sure to create your measures properly:

     

    $ Budget = 
    CALCULATE(
    	SUM(Fact_Table[Amount])
    	,Fact_Table[Flag] = "Budget"
    )

    You don't want to add up Budget, Forecast, and Actual values in the same measure!