Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello All,
I have researched this for hours but have been unable to resolve it. Any help would be appreciated.
I have survey data. Of course, sometimes respondents do not answer every question.
Here is an example of my data:
Respondent ID | The class was very helpful |
1 | Strongly Agree |
2 | Agree |
3 | |
4 | Agree |
5 | Strongly Disagree |
6 | Agree |
7 | Strongly Agree |
8 |
I have a bar graph displaying the % of respondents who answered with each response. It is sorted in order (Strongly Agree, Agree, Disagree, Strongly Disagree)
Here is my dax:
I do not want to simply filter out the blanks in the visual because then the total percentages do not equal 100%, of course.
I should also add that I do not want to remove the entire row, as the person may have answered other questions on the survey but left that particular question blank.
Thank you for any help you can offer!
HI, @afaherty
use Visual level filter like below image made from your data
in advance filter option choose isnotempty for The class was very helpful column
Thank you, but as I mentioned, that means then that the bars in the graph do not add up to 100%. I would prefer to handle this via DAX.
User | Count |
---|---|
16 | |
14 | |
14 | |
12 | |
11 |
User | Count |
---|---|
19 | |
16 | |
14 | |
11 | |
9 |