Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Running Totals using Calcualted Column

Hi,

 

Need to calcualte the Running Total using Calcualted Column with Condition. Need Running total at each product Level using Calculated Column.

 

https://drive.google.com/file/d/1T5TinzmLCU5SzM44yZXjymQ9Du8F5-VK/view?usp=sharing

 

REgards,

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

It seems that the formula of Nick_M should be helpful.

Have you solved your problem?

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

If you still need help, please share your desired output.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
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

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

It seems that the formula of Nick_M should be helpful.

Have you solved your problem?

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

If you still need help, please share your desired output.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @Anonymous ,

 

Similar type of question is already answered please see this post:

 

https://community.powerbi.com/t5/Desktop/Running-Total-cumulative-by-Group/td-p/69222

 

Thanks,

Tejaswi

Anonymous
Not applicable

the following will work as a calculated column:

Column = 
Var __CurrentProduct= '4'[Product]
Var __CurrentDate ='4'[Date]
RETURN

CALCULATE(
    SUM( '4'[Project]),
    FILTER(
        '4',
        '4'[Product] = __CurrentProduct
        && 
        __CurrentDate >= '4'[Date]
    )
)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.