Hey community!
I would like to add a measure to determine the revenue per department.
I have an ItemMaster that contains per Article the department and cost information.
Then I have a sales table that contains all sales per item per day.
Now I have a measure like [Sales].
How can I define a measure, that shows me the revenue per Order and per Department?
This measure works perfectly on order level:
But If I aggregate this measure, then I get a false value.
Do I have to use SUMX? Or any other approaches?
I would like to add a measure to determine the revenue per department.
I have an ItemMaster that contains per Article the department and cost information.
Then I have a sales table that contains all sales per item per day.
Now I have a measure like [Sales].
How can I define a measure, that shows me the revenue per Order and per Department?
This measure works perfectly on order level:
VBA Code:
[Sales]*AVERAGE(ItemMaster[Cost])
But If I aggregate this measure, then I get a false value.
Do I have to use SUMX? Or any other approaches?