Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Mean

Hello!

I will try to calculate an average, and I do not really know how I do, I now have a formula: Sum (Weight) / Sum (Total <ÅR_Kvartal> Weight). This formula can I use if I have to figure out the distribution or total number for each answer.

But how do I calculate average values ​​of the respective responses?

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

But how do I write this expression?

View solution in original post

6 Replies
jvitantonio
Specialist III
Specialist III

aggr(Avg(Weight), Responses )    

Responses = name of field for responses

This will show you the average weight by reponse

Not applicable
Author

Hello again!

But I want to calculate the mean number of nights, do I then set it there instead?

jvitantonio
Specialist III
Specialist III

well, I  put "weight" because it doesn't say anytihng about nights You can replace the formula according to your needs

Not applicable
Author

I'm really not good at this......

A small clarification

I want to calculate the mean number of overnight accommodation, housing and quarters.

Sum (Weight) / Sum (Total <Year_quarters> weight) and I have been given the distribution of this formula

Not applicable
Author

But how do I write this expression?

jvitantonio
Specialist III
Specialist III

sorry, you'll need to post your app. because I don't get what ur saying