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

Cumulative % based on dimension.

Hi,

I have following table and need to do cumulation with dimension values. When my Feild'Flag' is 'No' then cumulation should not happen. Need help on this. Capture.PNG

Labels (1)
1 Solution

Accepted Solutions
tresesco
MVP
MVP

If my assumptions are correct, you may try like:

rangesum(above(total If(Flag='Yes', sum(Sales)/sum(Total Sales)),0,RowNo(Total)))

View solution in original post

5 Replies
tresesco
MVP
MVP

Screenshot is good while explaining your issue. However, sharing the actual file (here excel) would be better since that  would allow people here to try out few things with the data in the course of proposing a possible solution to your query.

MuraliPrasath
Creator III
Creator III
Author

Hi,

I've added the worksheet. Let me know if you need any other information.

tresesco
MVP
MVP

Can I assume that you are trying to achieve this in a table chart , and 'Cumulative Flag%' is what you need to get? 

tresesco
MVP
MVP

If my assumptions are correct, you may try like:

rangesum(above(total If(Flag='Yes', sum(Sales)/sum(Total Sales)),0,RowNo(Total)))

MuraliPrasath
Creator III
Creator III
Author

Thank you so much. This worked as expected.😊