Forum

Catalin Bombea
@catalinb
Admin
Member
Joined: Nov 8, 2013
Last seen: Jul 3, 2025
Topics: 1 / Replies: 1936
Reply
RE: Excel UDF With a Twist

Hi Kevin, Hard to say without seeing how the functions are built. For example, a function will not work if the function itself is supposed to chang...

5 years ago
Forum
Reply
RE: How can I expand (or spill over a week's calendar) to a month's calendar?

Hi Jim, Use this query: let Source = Excel.CurrentWorkbook(){[Name="Students2"]}[Content], #"Removed Columns" = Table.RemoveColumns(Source,{...

5 years ago
Forum
Reply
RE: Sorting individual column in Power Query

There are no limits, you can do anything. Here is an example: let Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content], Headers = Table.Co...

5 years ago
Forum
Reply
RE: POWER Query Next Date Time Match

Hi, try the file attached.

5 years ago
Forum
Reply
RE: Conditional sum based on monthly data

Hi Alexios, It's not recommended to do that in PQ, it's better to make the aggregations in a pivot table, see image attached. The table you have is...

5 years ago
Forum
Reply
RE: Group By - Unable to SUM Zeros

Hi Adam, Basically, the answer is already in the error message: DataFormat.Error: We couldn't convert to Number. Details: - That means you do...

5 years ago
Forum
Reply
RE: Auto split based on each distinct value in columns

Hi Alvin, PQ is designed to aggregate data, rather than splitting data. Queries cannot replicate themselves to load a different data set into a ...

5 years ago
Forum
Reply
RE: Pick up the last previous record's total is erroring (Using List.Range)

Hi Chris, To get the previous row value, you have more options. One of them is to add 2 index columns: one starting from 0, and the other one st...

5 years ago
Forum
Reply
RE: Parameter Table and wildcards

Hi Alberto, The SelectRows condition: each ([Numero settimana] = ParaWeek) should be: each if ParaWeek=null then true else ([Numero settimana] =...

5 years ago
Forum
Reply
RE: Really Slow PQ Refresh

I have no idea what changes you have to do in the function. Usually, you have to avoid using hard typed file paths, or column names. Use generic funct...

5 years ago
Forum
Reply
RE: Group By

Do you have many records? Try using Table.Buffer in the steps just before Add Column steps.

5 years ago
Forum
Reply
RE: Really Slow PQ Refresh

The changes you make in a sheet are not reflected instantly in power query and in power pivot. You need to update the queries: Datatab-RefreshAll

5 years ago
Forum
Reply
RE: Group By

Hi Linda, Don't think you even need grouping. Please test the attached query, you have examples for how to find the last event for each Key, sum...

5 years ago
Forum
Reply
RE: Generate a Word Doc .doc from Excel Sheet & Automate email draft

Hi Patrick, Here are the changes needed: Replace ".pdf" with ".docx" in the following line: PDFFile = DestFolder & Application.PathSepara...

5 years ago
Forum
Reply
RE: Hierarchical data ordering in Excel

Basically, you want to repeat all rows from Source table, based on MaxInstance count? Try this query for t_SourceTable: let Source = Excel.Curre...

5 years ago
Forum
Page 69 / 130