Forum Discussion
cost per user per application
- Anonymous6 years agoNot applicable
Headcount measure should be distincount of user filtered by HC[Flag]=true
In the model attached,below is the calculation :
HC = CALCULATE(DISTINCTCOUNT(Empl[Employee]),FILTER(RELATEDTABLE(HC),HC[Flag]=TRUE()))The HC measure is not couting correctly if you see the matrix visual in the report.Also,the cost$ measure in model uses sumx which i do not want to use and it slows down performance in my real datasetPls suggest alternative to sumx.- vanessafvg6 years ago
Community Champion
when i look at your report, it isn't counting jreeves who is set to false, so how is it incorrect, can you give a way to test it?
- Anonymous6 years agoNot applicable
From the matrix,you see that HC counts pjohn as 1 (for Oracle)which shouldnt be the case as Usage table doesnt have pjohn using Oracle. Second,the cost$ is wrong as well because it counts ORacle as 2 users instead of 1 for June and divided cost by 2.Actually,i should get the below output :
- vanessafvg6 years ago
Community Champion
can you also explain the purpose of what cost is trying to do? divide the unit cost into the users?- Anonymous6 years agoNot applicable
Here is the requirement:
There are 3 products in the Budget table: Salesforce, ORacle, and Telecom. Each of them has a $ monthly allocation in the budget table. I divide the monthly allocation into the $ cost per user based on the HC measure. The HC measure must calculate the count of users per product filtered by HC [Flag] =1.Monthly alocation per product divided by this HC will give unit cost. This unit cost will be used to calculate the costs rolled up to fields in the Empl and Date dimensions.