Forum Discussion
Card visual help
I have a survey data that has 5 different responses, I want to show the percentage of two fields compared to the total 5 fields.
Very satisfied, satisfied, neutral, dissatisfied, very dissatisfied are the fields for this task. I want to display satisfied + very satisfied as a percentage of the total.
Hi Anonymous
Try this:
Satisfication with Provider = VAR _SVS = CALCULATE ( CountA('Qualtrics Survey sample data'[Satisfaction with provider]), FILTER ( ALL ( 'Qualtrics Survey sample data' ), 'Qualtrics Survey sample data'[Satisfaction with provider] = "Satisfied" || 'Qualtrics Survey sample data'[Satisfaction with provider] = "Very satisfied" ) ) VAR _AO = CALCULATE ( CountA('Qualtrics Survey sample data'[Satisfaction with provider]), ALL ( 'Qualtrics Survey sample data' ) ) RETURN _SVS/_AOIf this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
9 Replies
- VahidDMSuper User
Hi Anonymous
Try this measure:Measure =
Var _SVS = Calculate(counta(table[column with data],filter(all(table),table[column with data]="satisfied"&&table[column with data]="very satisfied"))
Var _AO = Calculate(counta(table[column with data],filter(all(table))
return
_SVS/_AOChange the Measure format top Percentage and replace the red items in measure with the column name that has those items.
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/- AnonymousNot applicable
what am I doing wrong here? VahidDM
- VahidDMSuper User
Anonymous
Just change the red text with column name between [ ] and then ="...".
Copy and paste the measure here as a text not image then I will update that.
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/