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

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,223,909
Messages
6,175,315
Members
452,634
Latest member
cpostell

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