+ Reply to Thread
Results 1 to 3 of 3

Power Query Group by Year Month

  1. #1
    Forum Contributor
    Join Date
    08-03-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    614

    Power Query Group by Year Month

    Hello,

    Is there a way to group by Year Month combination and still keep as a number format so it will act as in index

    I've transformed the date column to ;

    Please Login or Register  to view this content.

    Which does work, the only other way I can think is to transform each date to the start of the month but I would raelly like to keep
    a MM - YYYY format , any ideas,


    Richard.
    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,913

    Re: Power Query Group by Year Month

    Assuming it's a Date type, you could shorten that transformation to:

    Please Login or Register  to view this content.
    Rory

  3. #3
    Forum Contributor
    Join Date
    08-03-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    614

    Re: Power Query Group by Year Month

    Just to add I fount rick de groots article with all the text formats, so thanks, I had not known about this and would not have looked for it without your reply.

+ 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] Power Query Group and select rows within group
    By Dicken in forum Office 365
    Replies: 2
    Last Post: 06-10-2023, 07:51 AM
  2. Power Bi Year Month column
    By Dicken in forum Office 365
    Replies: 0
    Last Post: 12-23-2022, 12:11 PM
  3. Group by in Power Query and get unique values
    By Dicken in forum Office 365
    Replies: 1
    Last Post: 08-14-2022, 10:15 AM
  4. [SOLVED] Power Query - Convert Months to Year
    By samparker095 in forum Excel General
    Replies: 3
    Last Post: 07-08-2022, 04:39 AM
  5. [SOLVED] Power Query - filter by current month and year
    By afgi in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 09-28-2021, 07:20 AM
  6. Power Query - Change the year (to current year) in a date column
    By nickeee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-03-2020, 03:55 PM
  7. [SOLVED] Power Query Group by Each Change in Column Value
    By ibuhary in forum Excel General
    Replies: 9
    Last Post: 12-15-2019, 04:41 AM

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