+ Reply to Thread
Results 1 to 5 of 5

Quickbooks Multiple Data Sources, Power Query & Formatting

  1. #1
    Registered User
    Join Date
    04-24-2017
    Location
    Virginia
    MS-Off Ver
    2013
    Posts
    50

    Lightbulb Quickbooks Multiple Data Sources, Power Query & Formatting

    Quickbooks inventory management is sub par. Quickbooks will allow me to export 2 CSV files. First has valuation and second has item details. Using Power Query, I've figured out how to link the data sources, remove unwanted data and merge them together. While this idea is an improvement, the results are less than desirable.

    I'm hoping someone give me an "Idea/Sample/Direction" for how to handle formatting this data into a readable format.

    Attached:
    Source data
    Power Query Results
    Ideal Results

    "Item Listing.CSV" is the easies to read and understand with categories and items staying in a reasonable format of Category -> Category -> Item. I'm thinking this type of formatting, with pivot table that drops down and calculates based on groups (I know nothing about pivot tables, my attempts have always made me wonder why everyone recommends them maybe I'm just not using them to their full potential).

    * Is there a way in power query to say... IF Cell isblank,copy cell data to the left?
    Attached Files Attached Files

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

    Re: Quickbooks Multiple Data Sources, Power Query & Formatting

    Power Query results doesn't contain Power Query M-code but simply text

  3. #3
    Registered User
    Join Date
    04-24-2017
    Location
    Virginia
    MS-Off Ver
    2013
    Posts
    50

    Re: Quickbooks Multiple Data Sources, Power Query & Formatting

    https://file.io/CQUYf8WlCaQi

    It won't let me edit the post to add the actual power query.

    Should formatting happen in power query, or a macro with the results?

  4. #4
    Registered User
    Join Date
    04-24-2017
    Location
    Virginia
    MS-Off Ver
    2013
    Posts
    50

    Re: Quickbooks Multiple Data Sources, Power Query & Formatting

    I'm not sure how to report issues to the admin team, but this is the error message when trying to upload. I played hell getting the originals in the post, same error.....

    count(): Argument #1 ($value) must be of type Countable|array, null given on line 908 in /home/eforum/public_html/packages/vbattach/attach.php
    #0 /home/eforum/public_html/newattachment.php(158): vB_Attachment_Store->upload(Array, Array, Array, 0)
    #1 {main}


    Fatal error: count(): Argument #1 ($value) must be of type Countable|array, null given on line 908 in /home/eforum/public_html/packages/vbattach/attach.php in /home/eforum/public_html/vb/vb.php on line 287

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

    Re: Quickbooks Multiple Data Sources, Power Query & Formatting

    thanks for the complete file with M-code.

    sorry but I don't understand third line of your post #3 especially about macro

    Please Login or Register  to view this content.
    then you can move this column wherever you want

    there is no cells in PQ, You can use Tables, Columns and Rows
    Last edited by sandy666; 09-10-2022 at 09:46 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. Quickbooks Multiple Data Sources, Power Query & Formatting
    By Keybler in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-10-2022, 07:56 AM
  2. Replies: 1
    Last Post: 03-18-2021, 01:06 PM
  3. Power query - unpivot data that has multiple headings
    By annaisakiwi in forum Excel General
    Replies: 11
    Last Post: 05-04-2020, 09:54 PM
  4. Replies: 4
    Last Post: 02-17-2020, 06:03 AM
  5. 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
  6. [SOLVED] Power Query to Extract Data based on multiple criteria
    By Philipsfn in forum Excel Formulas & Functions
    Replies: 27
    Last Post: 01-16-2018, 01:45 PM
  7. Need to combine multiple data sources for pivot table [MDX query?]
    By needsomehelp3 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-22-2011, 04:32 PM

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