Forum

Catalin Bombea
@catalinb
Admin
Member
Joined: Nov 8, 2013
Last seen: Dec 22, 2025
Topics: 1 / Replies: 1937
Reply
RE: Change to code if a value is false, need to print to different sheets and format to if it is true.

Hi Peter, Sorry for the late reply. Try this: Private Sub cboPrintBus_Click() Dim shData As Worksheet, shGroup As Worksheet Dim arrSh As Va...

6 years ago
Forum
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...

6 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,{...

6 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...

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

Hi, try the file attached.

6 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...

6 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...

6 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 ...

6 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...

6 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] =...

6 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...

6 years ago
Forum
Reply
RE: Group By

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

6 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

6 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...

6 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...

6 years ago
Forum
Page 69 / 130
0