+ Reply to Thread
Results 1 to 3 of 3

Get and Transform (Power Query) - Grouping numbers into bands/buckets

  1. #1
    Registered User
    Join Date
    12-11-2012
    Location
    Manchester, UK
    MS-Off Ver
    Excel 365
    Posts
    70

    Get and Transform (Power Query) - Grouping numbers into bands/buckets

    Hi

    Wonder if anyone can advise on this challenge I am facing please?

    In excel I would just use a lookup without True/False (1/0) to determine where a number "fits" in a list of bands but lost on it in G&T. I am looking at the number of staff managers have, I would essentially have a list of managers names in the first column and their staff headcount in the second column, in the third column I want to assign a band to the headcount so, for example:

    1-5 Staff
    6-10 Staff
    11-15 Staff
    More than 15 Staff

    The list is vast and I am performing a number of manipulations on the data in Get and Transform, so ideally I would like to add this step to my Get and Transform rather than doing it in excel. I am 100% sure that it can be done but my searches have proved fruitless (I am sure I am just using the "wrong" search term when I say band or group).

    Thanks

    TNU

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Get and Transform (Power Query) - Grouping numbers into bands/buckets

    I don't know much about PQ etc but have you tried adding a conditional column?

    Please Login or Register  to view this content.
    the Group element on the G&T is really about thinning the dataset relative to existing values.

  3. #3
    Registered User
    Join Date
    12-11-2012
    Location
    Manchester, UK
    MS-Off Ver
    Excel 365
    Posts
    70

    Re: Get and Transform (Power Query) - Grouping numbers into bands/buckets

    Thanks, I will give it a whirl and report back.

    Cheers

    TNU

    Update
    I will need to do some more work to get my categories how I want them but the quick test worked perfectly. Thanks for the pointers.
    Last edited by TheNewUnion; 03-12-2019 at 06:20 AM. Reason: updating

+ 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. Power Query (Get & Transform) on Mac
    By SHI.NL in forum Excel General
    Replies: 2
    Last Post: 05-18-2018, 09:24 AM
  2. [SOLVED] Power Query / Get & Transform - filter text contains based on list
    By SHI.NL in forum Excel General
    Replies: 8
    Last Post: 05-14-2018, 04:53 PM
  3. [SOLVED] Power Query / Get & Transform filtering on text
    By SHI.NL in forum Excel General
    Replies: 5
    Last Post: 04-28-2018, 11:50 AM
  4. Replies: 3
    Last Post: 04-20-2018, 08:30 AM
  5. [SOLVED] Change data structure using Formula or Power Query ( Get & Transform)
    By chullan88 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-04-2017, 02:58 AM
  6. Get & Transform (Power Query) not showing certain tables
    By BamBamMoneyBags in forum Excel General
    Replies: 0
    Last Post: 03-22-2017, 12:22 PM
  7. Help with grouping in power query
    By stephme55 in forum Excel General
    Replies: 1
    Last Post: 07-26-2016, 03:09 PM

Tags for this Thread

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