Forum Discussion
weighted average for survey result
- 8 years ago
Hi,
In the column area section of the visual, drag the Value field from the reporting PulseCheckSurvey table. In the file that you shared with me over a private message, this formula work perfectly
=IF(HASONEVALUE('reporting PulseCheckSurvey'[Value]),[Number of Respondents],SUMX(SUMMARIZE(VALUES('reporting PulseCheckSurvey'[Value]),[Value],"ABCD",MIN('reporting PulseCheckSurvey'[Value]),"EFGH",[Number of Respondents]),([ABCD]*[EFGH]))/[Number of Respondents])
Hope this helps.
Hi,
Not very sure but try this
=IF(HASONEVALUE(Data[Value]),your_measure,SUMX(SUMMARIZE(VALUES(Data[Value]),[Value],"ABCD",MIN(Data[Value]),"EFGH",your_measure,"IJKL",[ABCD]*[EFGH]),[IJKL]/your_measure))
If this does not work, then share the link from where i can download your file.
Hi,
In the column area section of the visual, drag the Value field from the reporting PulseCheckSurvey table. In the file that you shared with me over a private message, this formula work perfectly
=IF(HASONEVALUE('reporting PulseCheckSurvey'[Value]),[Number of Respondents],SUMX(SUMMARIZE(VALUES('reporting PulseCheckSurvey'[Value]),[Value],"ABCD",MIN('reporting PulseCheckSurvey'[Value]),"EFGH",[Number of Respondents]),([ABCD]*[EFGH]))/[Number of Respondents])
Hope this helps.
- danieldefo8 years agoFrequent Visitor
Dear Mathur,
Thanks for your help.It works perfectly
Have a nice fruitful day