Forum Discussion
Weighted average incorrect total
- 8 years ago
Thanks for the reply.
The solution was actually just V2_Weighted_ABM measure in the end. at a project level from a user reporting perspective they just want to see the project as sold margin perc and not the weighted one which does not mean anything - it is only used in the aggregation to the visual totals.
With combining them (which is no longer required) I did get that working with using the HASONEVALUE function and checking the project code.
Thanks all for your help and advice with this. It is greatly appreciated.
Create measure using DAX below and check if it returns your expected result.
Measure = IF(COUNTROWS(VALUES('project-as-sold-marg-perc'[Project Code]))=1, [V1_Weighting ABM],SUMX(VALUES('project-as-sold-marg-perc'[Project Code]),[V1_Weighting ABM]))
Regards,
Lydia
Thanks for the reply.
The solution was actually just V2_Weighted_ABM measure in the end. at a project level from a user reporting perspective they just want to see the project as sold margin perc and not the weighted one which does not mean anything - it is only used in the aggregation to the visual totals.
With combining them (which is no longer required) I did get that working with using the HASONEVALUE function and checking the project code.
Thanks all for your help and advice with this. It is greatly appreciated.