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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.