Forum Discussion
Anonymous
4 years agoNot applicable
Calculating the Difference between two averages
Hello! I would like to ask you for some advices how to calculate one new measure based on column rebate average%, MSE SD%, Total SD% seperately. Example based on total SD% column: 1. Average f...
- 4 years ago
Hi there,
You can use this approach (see link for file😞Difference compared to average = VAR AverageOfValue = AVERAGE('Table'[Value]) VAR AverageOfTotal = CALCULATE( AVERAGE('Table'[Value]), ALLSELECTED('Table'[Chain]) ) VAR Result = AverageOfValue - AverageOfTotal RETURN ResultUsing ALLSELECTED changes the average at the total row in case only a subset of chains are selected.
If this answers your question, please mark this as a solution.
Regards,
Barna
Anonymous
4 years agoNot applicable
Hi Anonymous ,
Can you provide a simple PBIX file for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures. I look forward to your response.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.