Weighted average with summary tool?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
With this data and this summarize tool, the average net price of item A comes out as 3.00. How can I get it to be a weighted average (weighted by Qty) to give something like 3.82 instead?
Solved! Go to Solution.
- Labels:
- Common Use Cases
- Tips and Tricks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
have you used the weighted average tool?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I haven't tried it yet - in my real use case, I am doing groupby on about 4 fields and then various actions (sum etc) on several other fields. I guess the best way would be to use this weighted average tool alongside the summarize and do a join to combine them?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@CullenJ yes you can join; use the weighted average tool with grouping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@CullenJ
two way for getting weighted average are attached
hope this help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks Raj, if I want to get weighted average of multiple fields, is that possible using the weighted average tool? If not, it seems like doing your way with the formulas and the summarize is better?
