+ Reply to Thread
Results 1 to 3 of 3

Power Query Groupd and running total function

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

    Power Query Groupd and running total function

    I've been trying t write a function to group and then perform running total on each group, the two functions work fine
    independently but I can't get them in one hit, don't know if possible?

    workbook attached

    I've got as far as ;

    Please Login or Register  to view this content.

    But the error says it cannot convert the grouped 'table' column to table, is this possible to do any suggestions.
    I've attached workbook with attempts and working out.

    Ri
    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 Groupd and running total function

    You're using text as a table, which won't work. Assuming I understand what you want as a result, you could use something like this:

    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
    608

    Re: Power Query Groupd and running total function

    thanks, I'll experiment, the reason i used 'text' for the second inner table was I want to use the column name, well you've probably seen what I did.
    As to the output, rather than grouping and then using the running total I just wanted to see if it could be done in one. there are two or three videos,
    but they're all; make function, group data and then use running total function.


    Richard

+ 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 list generate running total
    By Dicken in forum Office 365
    Replies: 3
    Last Post: 03-15-2023, 11:04 AM
  2. Power Query Custom function for running total
    By Dicken in forum Office 365
    Replies: 6
    Last Post: 10-29-2022, 10:58 AM
  3. Power Bi running total controlled by slicer
    By Dicken in forum Office 365
    Replies: 1
    Last Post: 09-07-2022, 11:03 AM
  4. [SOLVED] Power Bi running total and power pivot
    By Dicken in forum Office 365
    Replies: 1
    Last Post: 07-08-2022, 02:15 PM
  5. [SOLVED] Running total in power query with criterion
    By Dicken in forum Office 365
    Replies: 6
    Last Post: 01-10-2022, 09:33 AM
  6. Power Query Grouped Running Total
    By sle7en in forum Excel General
    Replies: 2
    Last Post: 02-13-2021, 06:30 PM
  7. [SOLVED] Power Query - running from VBA
    By kemit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-19-2018, 06:49 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