Forum Discussion
Josh0112
2 years agoNew Member
Simple DAX Query Question
I'm trying to create the following measure. I have two columns, one is a score and one is a text response. Like below NPS Theme 100 good 0 good -100 bad 100 ...
- 2 years ago
This DAX measure worked for me:
Average of NPS when theme not included = var themeNotIncluded = FILTER(ALL('Table'), 'Table'[Theme] <> SELECTEDVALUE('Table'[Theme])) return AVERAGEX(themeNotIncluded, 'Table'[NPS])
vicky_
2 years agoSuper User
This DAX measure worked for me:
Average of NPS when theme not included =
var themeNotIncluded = FILTER(ALL('Table'), 'Table'[Theme] <> SELECTEDVALUE('Table'[Theme]))
return AVERAGEX(themeNotIncluded, 'Table'[NPS])