Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Budgets by Department

Hi, I have a table with budgets by department like this: Budget A Budget B Budget C Budget D Budget E Budget F Total Budget Total Spent Total Remaining Job  100 200 400 300 0 15...
  • sturlaws's avatar
    6 years ago

    Hi, Anonymous 

     

    for the most straight forward solution I would rearrange the budget table to this

    DepartmentJobBudget
    AAlpha100

    B

    Alpha200
    CAlpha400
    DAlpha300
    EAlpha0
    FAlpha150

     

    And create a Department dimension/table and a Job dimension/table with relationship to both Budget-table and Amount spent-table.

     

    As Total budget is the sum of the department budgets, there is no need to have a separate entry for that in a table. The same goes for total spent and total remaining. You should handle these 3 values as measures. I made a report, based on the data you have provided: .pbix

     

    Cheers,
    Sturla

    If this post helps, then please consider Accepting it as the solution. Kudos are nice too.