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

Running Totals In PowerBI Get Data List.Accumulate()

Hi all!

 

Please, tell me:

-- how to rewrite a DAX-formula for M-notation? it is necessary for slice

 

 

CALCULATE(
    SUM(Data[Fact]); FILTER(
        ALLEXCEPT(Data; Data[ref_Employee]; 'Data'[ref_ts_Project]); 
Data[Date] <= EARLIER(Data[Date]) ) )

 


I tried to write the correct P-query:

 

 

RTList = List.Accumulate(
              FactList, {0}, ( SoFar, ThisStep ) => 
SoFar & { List.Last( SoFar ) + ThisStep }) #"FFWD Changed Type", "Running Total", each RTList{ [INDEX] })

 

 

It's amazing, but how add Group (AllExcept)  by "ref_Employee" and "ref_ts_Project"?

 

Regards

1 ACCEPTED SOLUTION

Accepted Solutions
2 REPLIES 2
Lewa Regular Visitor
Regular Visitor

Re: Running Totals In PowerBI Get Data List.Accumulate()

Up

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.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 309 members 3,308 guests
Please welcome our newest community members: