+ Reply to Thread
Results 1 to 5 of 5

Power query Previous and current values

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

    Power query Previous and current values

    Hi,
    has anyone any suggestions on how to get the current and previous row?

    I've come up with ;

    Please Login or Register  to view this content.
    and then,
    Please Login or Register  to view this content.

    And then using this in a divsion, I'd like to get this all in one step, no helper columns, so using the above as a stiep in the editor, without adding the columns and then using

    Please Login or Register  to view this content.
    I've attached workbook and any suggestions on approaching this in a better way welcome.

    Richard.
    Attached Files Attached Files

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

    Re: Power query Previous and current values

    Try

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

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

    Re: Power query Previous and current values

    Thanks, sorry for not getting back before, your post got lost amongst other stuff.

    rd

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

    Re: Power query Previous and current values

    Been going through your answer very slowly I shall have to start a proper dissection, I think I understand it, mostly, but way beyond anything I could have come up with.
    Have a gold star.

    RD

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

    Re: Power query Previous and current values

    Hi,
    Sorry but can you elaborate a bit;

    in ;
    Please Login or Register  to view this content.
    is the , each _ {1} referring to List.RemvoeLast ? I've been tryin to break it down, in a bit of a mess.

    RD

+ 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 - filter by current month and year
    By afgi in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 09-28-2021, 07:20 AM
  2. Power query current file source
    By Undo in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-17-2021, 06:34 AM
  3. [SOLVED] Power Query to transform current table
    By Vixx1 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-16-2020, 12:28 PM
  4. 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
  5. Replies: 4
    Last Post: 02-17-2020, 06:03 AM
  6. Sub-Forum for Excel Power Tools (Power Query, Power Pivot & Power BI)
    By chullan88 in forum Suggestions for Improvement
    Replies: 10
    Last Post: 06-28-2018, 02:25 PM
  7. Validate if value exist in current power query connection data
    By calvinle in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-05-2017, 01:03 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