power query

  1. X

    Power Query Reference vs Duplicate for Performance

    If I have query (1) with multiple steps and I need to have query (2) based on query (1). For performance and/or good practice is it better to: A) duplicate it and then modify and or remove the steps carried over to get what I need or B) is it better to reference it and then create steps to...
  2. tazeo

    Hierarchical Table to a PivotTable (or something similar)

    Hi everyone, I'm struggling with transforming a complex Hierarchical Table into a format suitable for creating a PivotTable. The existing data structure is proving challenging to work with. Current Data Structure (example): Level 04level 05level 06level 07level 08level...
  3. S

    Expanding Abbreviations Within an Address Column

    Hello experts, I've got a canned report that I need to modify in Power Query so that it can be used to create an Excel mail merge list. The powers that be don't want any abbreviations in these addresses. For example, Joe Smith's employee record comes out in the pre-canned export as 103...
  4. M

    Scraping table from site with multiple pages but same url

    I cannot figure it out. I am trying to scrape a table from the website CapWages - NHL Salary Cap Data which will scrape the first 50 rows but because the website makes you click next page, it will not display the next ones. Normally, websites add to the url to advance the page...but this site...
  5. C

    How to automatically paste the data from one sheet to another using VBA

    Hello All. I created a macro wherein the data captured from SAP and imported via power query will automatically pasted on another sheet of the same worksheet, what happened is that even though the query is updated once I ran the macro it captured the previous data generated from power query...
  6. M

    Help rearranging dataset (pivot, lookup, or something else?)

    Sorry for the uninformative title; I'm not sure what to call the thing I'm trying to accomplish. I'm importing data from a PDF and hope to rearrange them into a more useful structure. I have a list of widgets, grouped by the subwidgets they're made of. So the initial import looks something like...
  7. J

    Update Power Query through VBA

    Upfront Admission: My VBA skills are limited to one lines of code and plagiarism. So I will be zero percent offended if spoken to like a Excel baby. That said. I am working on a Power Query file that is reading a folder location of PDF files. From those files, I scrape out permanent information...
  8. P

    Power Query to Merge and Fill in gaps in data

    Hello, I have monthly sales data by item for 12 months. Some items do not have any sales data in every month. My raw data source omits these months and skips over them. However, I need to show these months/item as ZERO for that month. Some conditions that are always true: 1. For any month in...
  9. I

    Power Query Data types and excel time format issue

    So, I have a column for time duration in my data from different excel files and tables which gets consolidated in power query... But the data in the time duration column from these different files/tables is not the same, it's in these below 3 example formats: 00:24:02 00h 24m 02s 24m 02s 01h...
  10. Y

    Is there a way to run power query in Excel 2006?

    I have read that power query is not supported in Excel 2007 and earlier versions. I would like to know if there is any other way to run power query in Excel 2006? I have an assignment to run Power Query and my Excel is 2006. Any comment is highly appreciated.
  11. D

    Power Query: Pivot Column With Multiple Values Columns OR Hierarchical Header

    Good day, In Power Query, I need to go from this: Serial Number Date/Time Data Pont 1 Data Point 2 0001 08/14/2024 10:00 DP1A DP2A 0001 08/14/2024 10:10 DP1B DP2B 0001 08/14/2024 10:20 DP1C DP2C 0001 08/14/2024 10:30 DP1D DP2D 0002 08/14/2024 10:00 DP1A DP2A &c. to this...
  12. S

    Processing 2,000 CSV files

    Hi, I have an excel file that is 80mb in size. I have daily files for several years that I upload each day. I would like to see if I could save time by storing prior years already. They are csv file format 365 files x 4 years and take 30 minutes to upload each day. Each morning I need to open...
  13. CubaRJ

    How to replace text in a column based on values of next and previous row?

    Hi, There! I am looking for a way to use Power Query to replace text in two diferent columns based on a column. This is a report coming from HR listing daily information about punch cards. It contains the names of personnel and their time stamps and overtime code. I have this column reason...
  14. P

    Power Query with Dynamic Sample File

    I have a Power Query where I need to reference two different Sample Files depending on a variable: let SourceType = Excel.CurrentWorkbook(){[Name="SourceType"]}[Content]{0}[Column1], SourceLocation = if SourceType = "Fileshare" then "C:\Fileshare" else "C:\Egnyte", Source =...
  15. A

    PQ Add Dynamic "Average" Column

    Hello community! I have a table of reports that gets updated every month. In the PQ editor I pivoted the report date column "REPORT PERIOD" which is in MM-YYYY format. And the data for it I used "Workload Data Input". I did that so it calculate s average of all inputs from each period for each...
  16. J

    Augmenting VBA to Refresh Specific before All Power Queries

    Howdy! I am currently using these two pieces of VBA to refresh my Power Queries and it works beautifully. But I was wondering if anyone is able to assist in augmenting it a bit. It currently produces the information displayed in this picture: My need is to be able to run anything that begins...
  17. C

    Query source folder contains too much info, the query breaks before it can load. What are my options?

    A team I'm working on used to manually process data received from clients writing out their PDF documents into an ever growing range of data within Excel. We only have access to Office 365 programs and Power Query has been a real game changer, but we're all pretty new to it. We've been...
  18. T

    Convert Inconsistent, Paragraph-Like Data to Columns & Rows for Import

    Help? We are moving records from one provider to another and their downloadable information is difficult to manipulate into a format suitable for import, and rightfully so. (Can you say Job Security?) But we ARE moving. Please see attached image. The data is paragraph-like...
  19. C

    Help me Convert, Merge and Transpose a pdf table into a singular row, and then repeat that step ad nauseam to create a database

    Context I have an ever growing collection of 200+ paged pdf documents that contain bank checks. The checks themselves will not scan into Power query, however their header's will. My goal is to extract the header of each check statement and then transform that information into a row that would...
  20. M

    Add "Name" Column in Power Query - Append

    When making a query with multiple tables, a column called "Name" is automatically created, containing the table name... When appending queries, however, it doesn't do this. Is there a way to add a "Name" column to my appended query, so I can see which query the data came from? My queries...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top