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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
willchamp
Frequent Visitor

Perfectly Linear Line Changing

I have a table that contains dates and a fixed value. For example:

 

DateValue
4/17/202520
4/18/202520
4/19/202520

 

I have a running total calc that takes the value and adds it to the previous cumulative value, based on the date:

 

Cumulative Target = 
CALCULATE(
    SUM('Targets Table'[Value]),
    'Targets Table'[Date] <= max('Targets Table'[Date]),
    ALLSELECTED('Main Table'[Program Manager])
)

 

This correctly provides me with a sloped line showing the cumulative value, over the date, as shown below:

 

willchamp_0-1744912286563.png

 

When I change the program manager filter, though, it loses the perfect slope, and if the program manager doesn't have an actual value for that day, it jumps:

willchamp_1-1744912300172.png


How can I keep it so that the green (target) line loses those jumps?

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

To report on things that are not there you need to use disconnected tables and/or crossjoins

 

Your x axis must come from the Calendar dimension. Either enable "show items with no data"  or leave the table disconnected and use measures.

View solution in original post

4 REPLIES 4
V-yubandi-msft
Community Support
Community Support

Hi @willchamp ,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.

Thank you.

V-yubandi-msft
Community Support
Community Support

Hi @willchamp ,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

V-yubandi-msft
Community Support
Community Support

Hi @willchamp ,

@lbendlin , provided a good response. Please try his solution and see if it works for your scenario. If everything is running smoothly now.  However, if you need any further clarification or additional details, please let us know.

 

If your issue has been resolved, please mark it as accepted solution . This helps other community members find the solution quickly.

 

Regards,

Yugandhar.

lbendlin
Super User
Super User

To report on things that are not there you need to use disconnected tables and/or crossjoins

 

Your x axis must come from the Calendar dimension. Either enable "show items with no data"  or leave the table disconnected and use measures.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.