Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Summarize tool

aparna0208
8 - Asteroid

Hi,

 

Need help with below problem. I need to find on an average, how many critical reviews did the movies receive(rounded to nearest integer)?

I used summarized tool to find average but output doesn't look right. Do I need to apply any logic before I use the summarize tool?

 

Name2Number_of_Critical_ReviewsRatingYear
A Fantastic Woman215  93%2018
A Ghost Story265  91%2017
A Man Called Ove112  90%2016
A Monster Calls257  86%2017
A Quiet Passion169  92%2017
A Quiet Place364  95%2018
A Star Is Born496  90%2018
A War92  91%2016
Abacus  Small Enough to Jail95  93%2017
Aferim40  98%2016
After the Storm132  96%2017
2 REPLIES 2
Luke_C
17 - Castor
17 - Castor

Hi @aparna0208 

 

Is that the raw data? Using the summarize tool just to average the number of critical reviews seems to give the correct answer of 203 (you can further round in a formula tool). You could also group by year to get the average by year. You shouldn't have to do anything special to get this to work, what seems off with your results?

 

Luke_C_0-1621966243326.png

 

aparna0208
8 - Asteroid

Hey @Luke_C - thanks for your inputs:)

 

I just realized what I did. I added two columns in summarize tool where one is average on the critical reviews data and group by on movie names. When I did this I was getting the output as seen in my example with data in both columns. I deleted the group by function and just did average on critical reviews column and got the output as 193.52. I think probably now I got the correct output

Labels