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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
cailingjie0405
Frequent Visitor

Problem with Cumulative %

Hi Community,

I am doing a Pareto analysis and I calculated the cumulative % using the following formula:

 

Cumulative % = var currentUSD= [SumUSD]
var totalspend = CALCULATE([SumUSD],ALLSELECTED(Product) return
CALCULATE(
[SumUSD] ,
FILTER(ALLSELECTED(Product), [SumUSD] >= currentUSD)
) / totalspend
 
It works good and it shows as (sorry for the ugly chart)
cailingjie0405_0-1626285500009.png

However, we I add in a new filed (quantity). The first value of the cumulative % becames blank. I am not sure why this happend. Can you please advice?

cailingjie0405_0-1626290492201.png

 

Thanks in Advance!

2 ACCEPTED SOLUTIONS
v-kkf-msft
Community Support
Community Support

Hi @cailingjie0405 ,

 

Don't know your model, maybe you can try the following measure:

 

Cumulative % = 
CALCULATE(
    SUMX('Product', [SumUSD]) ,
    FILTER(
        ALLSELECTED('Product'[Product Names]), 
        [SumUSD] >= SUM('Product'[USD])
    )
) / SUMX( ALLSELECTED('Product'[Product Names]), [SumUSD] )

vkkfmsft_0-1626657645216.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

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

Ashish_Mathur
Super User
Super User

Hi,

Share the link from where i can download your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

4 REPLIES 4
v-kkf-msft
Community Support
Community Support

Hi @cailingjie0405 ,

 

Does your problem have been solved? If it is solved, please mark a reply which is helpful to you.

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

 

Best Regards,
Winniz

Ashish_Mathur
Super User
Super User

Hi,

Share the link from where i can download your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-kkf-msft
Community Support
Community Support

Hi @cailingjie0405 ,

 

Don't know your model, maybe you can try the following measure:

 

Cumulative % = 
CALCULATE(
    SUMX('Product', [SumUSD]) ,
    FILTER(
        ALLSELECTED('Product'[Product Names]), 
        [SumUSD] >= SUM('Product'[USD])
    )
) / SUMX( ALLSELECTED('Product'[Product Names]), [SumUSD] )

vkkfmsft_0-1626657645216.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Thank you. It works good

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.