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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
uxorise3424
Frequent Visitor

Show blank values in a cumulative bar chart

Hi everyone. I have been working on a bar chart that is cumulative and I have been able to figue that out but i need help filling in some gaps. 

Here is what my chart looks like right now:

uxorise3424_0-1700075148558.png

And here is the equation i am using: 

CALCULATE(
    COUNT('Query1'[EV3]),
    FILTER(
        ALLSELECTED('Query1'),
        ISONORAFTER('Query1'[EV3)],MAX('Query1'[EV3]),DESC)
    )
)
 
So in the chart you can see a bar for 400, 450, 500, then 600. It skips over 550 becuase there are no values that fall in that range. Since this is supposed to be cumulative, is there a way to just make it equal to the last bar?
 
Clarifications about the data
EV3 is the X-Axis which is just a number a person chose (200, 250, 300, etc.) and the bars are the % of people that choose that number including all the ones lower.
 
Thank you!
1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your datamodel looks like, but try getting the X-axis from dimension table, not from the same table as the fact table. And also, use the dimension table in the measure.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

1 REPLY 1
Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your datamodel looks like, but try getting the X-axis from dimension table, not from the same table as the fact table. And also, use the dimension table in the measure.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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