Forum Discussion
Dynamic weighed average time serie
- 7 years ago
Thanks a lot, Frank! it is almost what I was looking for and indeed your answer was close to the result I expected, even simpler : just needed to remove the filter "ALL" !
Success rate (%) = CALCULATE(SUM(Sheet2[OK]))/CALCULATE(SUM(Sheet2[Total]))*100
Indeed, it alows to demonstrate one key difference between a column and a measure: the measure is using the current context where it is used then more dynamic.
Regards,
Ph.
Hi phesc,
To create a measure as below. If it doesn't meet your requirement, kindly share your excepted result to me.
Measure = CALCULATE(SUM(Table1[OK]))/CALCULATE(SUM(Table1[Total]),ALL(Table1))
Alsp please find the pbix as attached.
Regards,
Frank
Thanks a lot, Frank! it is almost what I was looking for and indeed your answer was close to the result I expected, even simpler : just needed to remove the filter "ALL" !
Success rate (%) = CALCULATE(SUM(Sheet2[OK]))/CALCULATE(SUM(Sheet2[Total]))*100
Indeed, it alows to demonstrate one key difference between a column and a measure: the measure is using the current context where it is used then more dynamic.
Regards,
Ph.