Forum Discussion
Measure for Constant Line where numerator is a Measure
- Anonymous2 years ago
Hi,
Thanks for the solution kpost provided, and i want to offer some more information for user to refer to.
hello emutuc , you can try the following meausre.
Company Avg = VAR a = SUMX ( ALLSELECTED ( 'Table1'[USERS] ), [COUNT COMBINED USE] ) VAR b = CALCULATE ( DISTINCTCOUNT ( 'Table1'[USERS] ), ALL ( 'Table1' ) ) RETURN DIVIDE ( a, b )Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks. when i create the expression
Company Avg = CALCULATE(Average([COUNT COMBINED USE]), ALL('Table1'[USERS]))
I get an error because the [count combined use] part is not found
Hi,
Thanks for the solution kpost provided, and i want to offer some more information for user to refer to.
hello emutuc , you can try the following meausre.
Company Avg =
VAR a =
SUMX ( ALLSELECTED ( 'Table1'[USERS] ), [COUNT COMBINED USE] )
VAR b =
CALCULATE ( DISTINCTCOUNT ( 'Table1'[USERS] ), ALL ( 'Table1' ) )
RETURN
DIVIDE ( a, b )
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.