Forum Discussion

timurcakin's avatar
timurcakin
Icon for Helper I rankHelper I
3 years ago
Solved

Running sum % help needed (from calculate)

Hello,   I am not very good at dax but need this for my work so appreciate if you can help with the request. can you please help to calculate the running total of weighted volume % for attached fi...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi timurcakin ,

     

    The last formula I gave was to accumulate in descending order by [No_], I have since realised that you may want to accumulate in descending order by [Order], please try this measure.

    running total weighted volume% = 
    VAR _order = [order]
    VAR _result = SUMX(FILTER(SUMMARIZE(ALLSELECTED('Sheet3'),'Sheet3'[No_],"OD",[order]),[OD]>=_order),[weighted vol %])
    RETURN
    _result

    Best Regards,
    Gao

    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum