Forum Discussion
Get average based on another table values
- 5 years ago
Hi, Chavas
You need to modify your second measure slightly.If you want to change multiply this value by 100 to show it in % ,it is recommended that you do not use the Text "nan" in the third parameter of function "Divide".You cannot mix different types of data in one column if you want to show it in %.
measure = DIVIDE ( COUNTA ( NPSDATA[Category] ), SELECTEDVALUE ( Department[DptPopulation] ) )In addition ,please check whether the field "Subdepartment" in you left graph visual are the same as the field "Subdepartment" in right Table viusal
Best Regards,
Community Support Team _ Eason
Hi, Chavas
You need to modify your second measure slightly.If you want to change multiply this value by 100 to show it in % ,it is recommended that you do not use the Text "nan" in the third parameter of function "Divide".You cannot mix different types of data in one column if you want to show it in %.
measure =
DIVIDE (
COUNTA ( NPSDATA[Category] ),
SELECTEDVALUE ( Department[DptPopulation] )
)
In addition ,please check whether the field "Subdepartment" in you left graph visual are the same as the field "Subdepartment" in right Table viusal
Best Regards,
Community Support Team _ Eason