Power Query - General and SUMIF

joslaz

Board Regular
Joined
May 24, 2018
Messages
76
Good Morning!


I've been working with Excel for a few years now and have increasingly been advised in the past to work with PowerQuery, especially for large amounts of data.
Now I have a tool that builds on records that are updated every month in a folder or in a single file. For this purpose, this file will only be overwritten.
With PowerQuery I create a connection to this file.
When the tool is opened, the most up-to-date data is always used.


Now I'm structuring the data with PowerQuery. So sort, format date, delete columns, etc.


Now I need more information for the tool.
So a SUMIF function, which creates a running sum per employee.
Example:
No. Name Value SUMIF
1 A 1 1
1 A 3 4
1 A 3 7
2 B 1 1


Another function is that in the column next to it, the name from column B is displayed, if the size is greater than 30.




How should I best implement this?
Should this at best be the connection as a table?
So an intelligent table, in which I then implement my function accordingly?
Or should this be done in PQ if possible?


Best regards!
Josh
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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