Forum

Philip Treacy
Philip Treacy
@philipt
Admin
Member
Joined: Oct 5, 2010
Last seen: Jun 8, 2026
Topics: 61 / Replies: 1588
Reply
RE: Update SQL table

Hi Brian, I can't write a SQL UPDATE without knowing things like your table and column names so here's some code that works on the AdventureWorks s...

6 years ago
Forum
Reply
RE: Extract from Google Drive

Hi Bruno, You can access the file in PQ using a From Web query and the URL to the file PQ will see it as an XLSX file and show you the 4 table...

6 years ago
Forum
Reply
RE: Running Excel Forms VBA Code in separate sheet

Hi, This line Set ExpenseTable = ThisWorkbook.Worksheets("ExpenseData").ListObjects("Expenses") had curly quotes like this “” around Ex...

6 years ago
Forum
Reply
RE: Edate - making error blank

Hi Sue, wrap it in IFERROR e.g. =IFERROR(EDATE(C34,35),"") Regards Phil

6 years ago
Reply
RE: How to check the VBA code for Excel Chart?

Hi, Are you asking how to find out the chart type for all charts on the active sheet? Change the For Each loop to this For Each ChtObj In ...

6 years ago
Forum
Reply
RE: Running Excel Forms VBA Code in separate sheet

Hi Please attach your workbook with the code that is generating the error. Phil

6 years ago
Forum
Reply
RE: Update SQL table

Hi Brian, You need to construct the SQL statement and then run it, without seeing you data I can't say anything more precise. You need a connect...

6 years ago
Forum
Reply
RE: Pull data considering multiple criterias

Hi Ivan, No file attached. Instructions on attaching files regards Phil

6 years ago
Reply
RE: Dates Between for Custom Column

Hi Robb, You can add extra clauses to an if like so: = Table.AddColumn(#"Inserted Week of Month", "Custom", each if [Dates] >= #date(2020, 2,...

6 years ago
Forum
Reply
RE: Extract specific rows based on criteria in power query

Hi Ronak, See attached file that uses a very fast function to calculate grouped running totals. On the 'In Stock GRT Function' sheet are the res...

6 years ago
Forum
Reply
RE: power query sort order is different to excel when closed and loaded to excel

are you unable to supply a copy of your live data? Without it, the help I can offer is limited. Are you using a custom list to sort in Excel? ...

6 years ago
Forum
Reply
RE: Transform XLSX File Export from Oracle ERP

Mohamed, This is the 3rd time I have asked you to attach a workbook. Without your actual file/query/data I can not help. Phil

6 years ago
Forum
Reply
RE: power query sort order is different to excel when closed and loaded to excel

Aye, Please always supply a workbook with data You haven't said how you are sorting but I'm guessing it's by the AccomCode. When I type those c...

6 years ago
Forum
Page 40 / 110
0