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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

cumulative line chart with nominal values

Hi,

I 've got problem with creating cumulative line chart. The variable has nominal values between 0 and 10 and I want to create a chart with share of nominal values in such a pattern:

if value equals 0 this observation is only in 0,

if value equals 1 this observation is in 1 and 0,

if value equals 2 this observation is in 2, 1 and 0,

... etc

if value equals 10 this observation is in 10,9,8,7,6,5,4,3,2,1,0 (in all)

The following plot contains shares of distinct values, I want to accumulate values according to described pattern.

power_bi_plot.jpg

2 REPLIES 2
v-xuding-msft
Community Support
Community Support

Hi @Anonymous ,

 

Do you want to calculate cumulative share of observation? If so, you can reference my sample to modify yours.

Measure = CALCULATE(SUM(Table1[share]),FILTER(ALL(Table1),Table1[values] <= MAX(Table1[values])))

3.jpg

If I understand incorrectly , please post some sample data and excepted output. Then we can help you as soon as possible.

 

Best Regards,

Xue Ding 

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

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Almost good, but in opposite way 🙂

In zero's should be all values - from 0 to 10, 

in 1 all except 0,

in 2 all except 0 and 1

...

in 9 only 9 and 10

and in 10 only ten's 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors