Forum Discussion
admin_xlsior
7 years agoPost Prodigy
Budget Allocation without relationship
Hi, I'm wondering can we calculate Budget, without relationship ? For example I have this table Dealer Region Branch Year Month WO group Budget DEMF Washington Reg Washington ...
- 7 years ago
Hi admin_xlsior
You may try below measure or just use budget table's region column as slicer.For further,please refer to attached sample file.
Measure = VAR CurrentMonth = SELECTEDVALUE ( 'Date'[Month] ) VAR CurrentRegion = SELECTEDVALUE ( 'Region'[Region] ) VAR MonthlyBudgetAmt = CALCULATE ( [Total Budget-GP], FILTER ( ALL ( 'Budget' ), CurrentMonth = 'Budget'[Month] && CurrentRegion = 'Budget'[Region] ) ) RETURN MonthlyBudgetAmtRegards,
v-cherch-msft
7 years agoMicrosoft Employee
Hi admin_xlsior
You may try below measure or just use budget table's region column as slicer.For further,please refer to attached sample file.
Measure =
VAR CurrentMonth =
SELECTEDVALUE ( 'Date'[Month] )
VAR CurrentRegion =
SELECTEDVALUE ( 'Region'[Region] )
VAR MonthlyBudgetAmt =
CALCULATE (
[Total Budget-GP],
FILTER (
ALL ( 'Budget' ),
CurrentMonth = 'Budget'[Month]
&& CurrentRegion = 'Budget'[Region]
)
)
RETURN
MonthlyBudgetAmt
Regards,