+ Reply to Thread
Results 1 to 6 of 6

Power Query formula - Sum numbers in another table

  1. #1
    Registered User
    Join Date
    03-28-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 365
    Posts
    79

    Power Query formula - Sum numbers in another table

    How can I sum volumes in another table. I created a calculated column 'Summed Volumes' in the Stock table but getting an error. I need a formula that works like an Excel Vlookup, search for the values in the 'Volumes' table and sum the volumes per customer, region and model. The tables are not related.


    tables.png
    Attached Files Attached Files

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: Power Query formula - Sum numbers in another table

    To do that in PQ you can use a query that groups and sums the volumes table, then merge that with your current query on the three grouping fields.
    Rory

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Power Query formula - Sum numbers in another table

    Please try Nestjoin or Merge Query from Ribbon Home

    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-28-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 365
    Posts
    79

    Re: Power Query formula - Sum numbers in another table

    Thank you, will use that technique

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Power Query formula - Sum numbers in another table

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Registered User
    Join Date
    03-28-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 365
    Posts
    79

    Re: Power Query formula - Sum numbers in another table

    Thank you so much for the code

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Reference your excel formula to power query table
    By ninadkadu in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-27-2020, 01:39 AM
  2. STDEV formula issue in Power Query Table
    By hawkdaddy404 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-06-2020, 04:22 PM
  3. [SOLVED] Power Query - excel formula translation into Power Query
    By afgi in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 02-19-2020, 03:38 AM
  4. Replies: 4
    Last Post: 02-17-2020, 06:03 AM
  5. Power Query and Power Pivot Table
    By haitham.shop in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-06-2018, 06:17 AM
  6. POWER Query and Power Pivot Table !!
    By haitham.shop in forum Access Tables & Databases
    Replies: 0
    Last Post: 08-06-2018, 05:59 AM
  7. [SOLVED] Is there a way to add a normal excel formula to a Power Query Table
    By beaglesBuddy in forum Excel General
    Replies: 1
    Last Post: 07-09-2016, 04:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1