cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Nikitas10 Regular Visitor
Regular Visitor

M Function - calculate running total

Is there a way to create a function in 'Edit Query' that summarises a column by month to date per year? Give it for example a parameter of a date field and the column you need calculated and adds an extra column with MTD by year?

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yulgu-msft Super Contributor
Super Contributor

Re: M Function - calculate running total

Hi @Nikitas10,

 

Here are two similar links for your reference:

How to do a running Sum by group in Power Query?

Create Running Totals in Power Query

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yulgu-msft Super Contributor
Super Contributor

Re: M Function - calculate running total

Hi @Nikitas10,

 

Here are two similar links for your reference:

How to do a running Sum by group in Power Query?

Create Running Totals in Power Query

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Nikitas10 Regular Visitor
Regular Visitor

Re: M Function - calculate running total

That's great. Thank you. I'll take a look at those

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 296 members 2,965 guests
Please welcome our newest community members: