I want to create an SSRS report connecting to a SSAS tabular database. This SSRS report should contain a matrix with costs and budgeted costs grouped by years and cost types.
Now my problem is, that the cost table and the budgeted cost table are both fact tables. I do not know enough DAX to get columns from both fact tables. Right now I can only create a dataset with the costs or the budgeted costs. I thought about two datasets in two matrixes. But that’s obviously not a good solution.
This is a samplee of my (not working) DAX code.
EVALUATE
(
FILTER (
SUMMARIZE (
Costs,
Costs[IScost],
Time[year],
CostType[name],
PlanedCosts[ISplanedcost]
),
Time[year] = 2018
)
)
I don’t think that this is a hard task, but so far, I did not find a solution with DAX and SSRS. I can't belief that this is not possible with DAX. Or do I really need to use, for example, an MDX query? I would appreciate if someone could guide me in the right direction.