Forum Discussion

ellevy's avatar
ellevy
Icon for Helper I rankHelper I
5 years ago
Solved

weight average

Hello i have a table of the following stracture   ID  | Q1 W   |  1 Z   |  2 T   |  2 X   |  4   i want to calculate to weight avarage of those who answerd Q1 (the can answer numbers between...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi ellevy,

    It sounds like you want to apply multiple aggregates to your expression.
    Maybe you can try to add a variable with summarize function to apply the first level aggregate and use the iterator function to do the second summary of these results.

    Measure Totals, The Final Word 

    If you confused about the coding formula, please share some dummy data to test.

    How to Get Your Question Answered Quickly

    Regards,

    Xiaoxin Sheng