+ Reply to Thread
Results 1 to 6 of 6

Grouping Power Query Column

  1. #1
    Registered User
    Join Date
    11-04-2022
    Location
    kelowna
    MS-Off Ver
    pro
    Posts
    3

    Grouping Power Query Column

    I am working on a scheduling calender. I can get it to work with single events per day, but this part is throwing me for a loop. I cannot seem to group, or combine the events to singular cells with matching dates. Below is my query:

    excel1.png

    What I am hoping to achieve is like the following:

    excel2.png

    Can anyone give me some advice for this? I've tried group columns, and multiple formulas using Text.Combine, but I cannot seem to get anything to work properly.

    THANKS!
    Attached Files Attached Files
    Last edited by nick3516; 11-04-2022 at 06:23 PM.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Grouping Power Query Column

    read big yellow banner at the top of this page

  3. #3
    Registered User
    Join Date
    11-04-2022
    Location
    kelowna
    MS-Off Ver
    pro
    Posts
    3

    Re: Grouping Power Query Column

    My bad! cleaned it up and uploaded

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Grouping Power Query Column

    ok, now tell me what you want to achieve with your tables in Queries ?
    because these tables has nothing to do with your pictures

    I suppose it should be like this but I am not sure
    Date Number
    01/11/2022
    ORD-16181M
    Last edited by sandy666; 11-04-2022 at 06:41 PM.

  5. #5
    Registered User
    Join Date
    11-04-2022
    Location
    kelowna
    MS-Off Ver
    pro
    Posts
    3

    Re: Grouping Power Query Column

    Yes sorry I do not believe I saved my merge query.

    I can combine my two query connections with the dates selected. Upon loading I filter out and keep only the "number" column to give the image I posted originally, as well as your reply. My problem is I cannot combine my columns to lump numbers that occur on the same day. An example of this is in my 2nd image I showed, but this is not from my workbook and I cannot figure out how to do it. The end goal here is to display everything in a calendar, which I have completed in another workbook, but unfortunately it only shows one of the "number" per calendar date.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Grouping Power Query Column

    use From File option and take the table where is data you need, then Merge these tables by appropriate date columns, expand and check if you see what you want

    if calendar date suits to only one date from yours table you see one "number", if in your table will be more the same dates as one in your calendar you should see more numbers

    it's hard to imagine what you want to do and how your files and tables are organized

    edit:
    try to attach ALL files required to your project, with detailed description which tables by which column you need to connect and what you want to see as the result
    Last edited by sandy666; 11-06-2022 at 01:34 PM.

+ 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. [SOLVED] Excel Power Query Grouping list
    By Dicken in forum Office 365
    Replies: 9
    Last Post: 08-15-2022, 08:21 AM
  2. Replies: 2
    Last Post: 11-12-2021, 03:44 AM
  3. Power Query grouping of related items to find earliest datetime
    By Marbleking in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-08-2021, 03:44 AM
  4. Power query grouping - conditional to data across several columns??...
    By sunnyspirit in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-01-2021, 11:53 AM
  5. Data grouping in Power Query
    By hudson andrew in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-12-2020, 10:44 AM
  6. [SOLVED] Get and Transform (Power Query) - Grouping numbers into bands/buckets
    By TheNewUnion in forum Excel General
    Replies: 2
    Last Post: 03-12-2019, 05:37 AM
  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