powerquery

  1. R

    Copy paste multiple columns based on the account name

    Hi team, Can you please help me find a solution to the below issue? I tried Vlookup, but it is really time-consuming. I have two sheets. One with the contact details and one with the product details. I want them to map it based on the account data. Sheet 1: Sheet 2 Result required ...
  2. C

    subtracting by row

    Hello, I want to have a column that will show time difference between Time(i) and Time(i+1) for example: FIRST ROW 08:46:30 - 08:46:23 = 00:00:07 SECOND ROW 08:46:31 - 08:46:30 = 00:00:01 etc. Any ideas how can I achieve this in Power Query?
  3. R

    xl2016 - median time per process step in powerpivot (datamodel) with timestamps in rows

    HI There I have a power pivot (also in powerquery) table ProcessData that includes 3 columns: UniqueItemRef; Status; Update (=datetimestamp) If an item has passed through several statuses it will have several rows for those statuses (same UniqueItemRef and Status on each row) Also, if...
  4. D

    ROOKIE here with (hopefully) simple request

    First off I apologize for the lack of detail, this is for work so I cant give exact info on variables etc. Also I am new to PowerQuery. I have established my ODBC connection (=Odbc.Query("dsn=private", "Select#(lf)variable1, ...") so: (Select x, y From z Where x in ('')) and I would like to...
  5. B

    PowerQuery - Retaining old data when refreshing

    Hi, I’ve got a folder that has got multiple excel files (50+) with each file containing a weekly summary. As it is a weekly summary, each week, a new excel file is added to the folder. Currently, I’ve got a “master” excel file that is linked to that folder using PowerQuery and imports all the...
  6. D

    Extract differences from different workbooks

    Hi everyone, I hope you are well. I have a spreadsheet that evolves every week. I used Power Query and imported the workbooks produced the past weeks, basically copying the query and simply modifying the source. Is there a way to remove alla common data (what remains unchanged basically) and...
  7. J

    Powerquery IF contains text, then make value -ve

    Hi! I have 2 columns. Column A - Amount ($) all in absolute values Column B - Status (either named as Accepted / Cancelled) In excel, we could input a formula =IF(B1="Cancelled",-A1,A1) Can this be done in Powerquery? If so, how would I do this? Thanks!
  8. S

    Speed up Macro/using power query?

    Hi All, I am currently using code to split data from a single column (copied from pdf) to separate columns for easy reading. There are over 5000 entries within the spreadsheet and it is slow to complete the macro. Does anyone have any tips for speeding this up or using powerquery instead? I've...
  9. E

    VBA - Before/After Refresh of Power Query

    Hello, Office 365 - Power Query Built In I am trying to use the code in the first reply given here so that I can add some events once the power query on "PQ_Cons_Depr_LOCAL" tab refreshes. However, I can't seem to get it to trigger. Any help appreciated.
  10. VBA learner ITG

    Power Query Advice on Import and Merge Files in a Folder

    Hi all, I am a novice and learning as i go along and I was wondering if i could tap into your expertise. I have a folder with about 100 of these files to impot which i am trying to merge into 1 master file. Each workbook has a similar format in terms of structure. However, the store number...
  11. K

    Duplicate row based on

    Does anyone know how I can transform my data from TableA to TableB. Either using macro or using Powerquery to perform the task? Requirement: If there is a customer in CustomerName B col, duplicate the row and move the customer to CustomerName A col.
  12. bobsan42

    PowerQuery performance discussion

    Dear All, Especially the ones more familiar with M code, databases and data analysis. I admit that PowerQuery and M code seem to be quite a versatile tool, but I am puzzled by its low performance. So I wonder - is it me doing something wrong or it's just the way it is. Is there anything I can do...
  13. B

    Need help with PowerQuery CSV Files to Access

    Hello All, I currently manage 10 Locations and for each location I have 6 different CSV files that contain anything from sales to employee ect... I have cleaned up the data using power query with conditional formatting as not every column is used and some calculations are being done along with...
  14. K

    How to make Date Period vise Filter on Pivot Table ?

  15. K

    Change Font Color Black to White After Found " 0" Value In E Column , And may be I hope Hide row According Zero value. ???

    i was try "Change Font Color Black to White After Found " 0" Value In E Column , And may be I hope Hide row According Zero value. ???" how to possible Conditional Formatting ????
  16. D

    Refreshing a Power Query table while a user is in the source file

    Hi all, I've made massive headway in what I'm trying to set up in finding Power Query. What I'm trying to do is create a backend Excel sheet that compiles the information from multiple frontend workbooks in a folder. Easy-peasy, however, I cannot refresh the backend while any of the source files...
  17. H

    Creating a relationship between several columns

    Hello, I am trying to attach several columns in one table to one column in another. Here on the "Accessory" table, we can have up to 3 devices, in the three columns. Device Type Device Type2 Device Type3 IPHONE 6S+ IPHONE 7+ IPHONE 8+ IPHONE 12 IPHONE 12PRO IPHONE 12 IPHONE 12PRO...
  18. S

    Filtering based on a dropdown list in Power Query

    Hello, I am using Power Query to pull multiple data sets into a single workbook. I have a table within that workbook that contains a dropdown. What is selected in that dropdown determines how the data pulled in by Power Query gets filtered. See attached for further explanation. It works...
  19. vds1

    Calculate SLOPE value in PowerBI for given x and y values

    Hello, Thank you for looking into my question. I have series of x_value and y_value. I am looking for excel equivalent SLOPE function in PowerBI. Can you please help me with measure to calculate SLOPE for below data points? Expected Output SLOPE (m) = 1.34556304295796 y_value x_value...
  20. V

    What is wrong with my custom column formula?

    I get a token literal expected error, not sure what I am missing. It highlights the ' o" ' part of the No =if [UPC]= <> "No" then "Yes"[UPC] I am trying to change any value that is <> than "No" to be "Yes" also tried =if [UPC] <> "No" then "Yes"

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