Weighting for Measure Group | XM Community
Skip to main content
Question

Weighting for Measure Group

  • August 7, 2025
  • 8 replies
  • 73 views

HenrikeS
Level 2 ●●
Forum|alt.badge.img+3

Hi everyone!
Can I apply a weighting scheme to a measure group variable?
:) h.

8 replies

  • Level 4 ●●●●
  • 275 replies
  • August 8, 2025

You can but you need to insert the individual variables from the group into the metrics. From there, you can weigh it.


HenrikeS
Level 2 ●●
Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • 24 replies
  • August 12, 2025

Hi jbk!

Thanks for your response.

But I do not understand that completely: When I insert the individual variables from the group into the metrics, then I cannot display an overall mean. And this is what I need: an overall mean for the weighted variables.


vgayraud
QPN Level 6 ●●●●●●
Forum|alt.badge.img+58
  • QPN Level 6 ●●●●●●
  • 549 replies
  • August 12, 2025

Hi ​@HenrikeS ,

You can’t apply weights to measure groups. I think what you want is create a custom metrics (on which weights can be applied in the custom metric definition instead of inside the widget).

 


HenrikeS
Level 2 ●●
Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • 24 replies
  • August 12, 2025

@vgayraud

I think this method leads to wrong results when there are missings in one or both of the variables.
Somewhere I have to work in logics:

  • IF NPS1 has a value AND NPS2 has no value → set NPS Custom Metric to weighted NPS1
  • IF NPS1 has no value AND NPS2 has a value → set NPS Custom Metric to weighted NPS2
  • IF NPS1 has a value AND NPS2 has a value → set NPS Custom Metric to (weighted NPS1 + weighted NPS2)/2

Unfortunately I cannot see how to do this.

 


vgayraud
QPN Level 6 ●●●●●●
Forum|alt.badge.img+58
  • QPN Level 6 ●●●●●●
  • 549 replies
  • August 12, 2025

Absolutely, you’ll get the mean of the weighted means. If statement 1 has 1 answer and statement 2 had 10 answers, the 1 answer from statement 1 will weight as much as the 10 from statement 2.

 

One way to go around this, although it’ll require manual edits in your dataset if you already collected data, is to use scoring in your survey flow, and pipe in the weighted mean of the scoring category at the survey level.

 

Something like this:

 


HenrikeS
Level 2 ●●
Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • 24 replies
  • August 12, 2025

I see. But indeed, I already collected data.

 


vgayraud
QPN Level 6 ●●●●●●
Forum|alt.badge.img+58
  • QPN Level 6 ●●●●●●
  • 549 replies
  • August 13, 2025

It won’t help you for your current project, but there is a product idea on this that you can upvote on Evolve. I can’t link directly, but do a search on “weighting measure group” to find it.


AlonsoC
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 407 replies
  • August 13, 2025

For others who may be interested in a similar solution search on Evolve using EV-4077. Tip: type the id (EV-4077) into the tiny search bar next to ‘Sync now’ for a quicker result. Thanks ​@vgayraud for suggesting this!