Forum Discussion
SHARKBIRD
6 years agoRegular Visitor
Filter from disconnected table
Hi! I have a fact table with both actual numbers, and budget numbers like the one below. Date Orign Version Value 1/1-2019 Actual 1.000,00 1/1-2019 Budget A 900,00 1/1-...
- 6 years ago
Here is one way.
Selected Budget = calculate(sum(FactTable[Value]), treatas(values(Disconnected[Budget Version]), FactTable[Version]))
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
Anonymous
6 years agoNot applicable
The version given by ibarrau can be expressed in a much more succinct way:
CALCULATE(
SUM('Fact'[Value]),
'Fact'[Version] =
SELECTEDVALUE(Budget[Budget Version])
)
Best
D