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
Rondel
Helper I
Helper I

Visual Calculation: Running Sum Help

Hello,

 

Is there a way to select which date range you want the running sum function to select? For instance, the graph below, I would like the blue bar to not show for 6/4/2025 since the data is blank for that date: 

Rondel_1-1747864890400.png

 

3 ACCEPTED SOLUTIONS
Arash_Bhz
Frequent Visitor

Hi Rondel, just add a visual filter and under ForTrend in the pane, Advanced Filter, select Is Not Blank.

 

View solution in original post

Ashish_Excel
Super User
Super User

Hi,

Just in case you want a non visual calculation solution, try this measure

Measure = if([story points]=blank(),blank(),calculate([story points],datesytd(calendar[date])))

View solution in original post

grazitti_sapna
Super User
Super User

Hi @Rondel 

Please try the below calculation as measure in the chart.

RunningTotal_StoryPoints =
IF (
ISBLANK([Story Points]),
BLANK(),
CALCULATE (
SUM('Table'[Story Points]),
FILTER (
ALL('Calendar'),
'Calendar'[Date] <= MAX('Calendar'[Date]) &&
NOT(ISBLANK('Table'[Story Points]))
)
)
)


🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.
🔗 Curious to explore more? [Discover here].
Let’s keep building smarter solutions together!

View solution in original post

7 REPLIES 7
v-priyankata
Community Support
Community Support

Hi @Rondel 
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.

v-priyankata
Community Support
Community Support

Hi @Rondel 
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-priyankata
Community Support
Community Support

Hi @Rondel 

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.

Rondel
Helper I
Helper I

Thank you all for the replies - I will try these out

grazitti_sapna
Super User
Super User

Hi @Rondel 

Please try the below calculation as measure in the chart.

RunningTotal_StoryPoints =
IF (
ISBLANK([Story Points]),
BLANK(),
CALCULATE (
SUM('Table'[Story Points]),
FILTER (
ALL('Calendar'),
'Calendar'[Date] <= MAX('Calendar'[Date]) &&
NOT(ISBLANK('Table'[Story Points]))
)
)
)


🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.
🔗 Curious to explore more? [Discover here].
Let’s keep building smarter solutions together!

Ashish_Excel
Super User
Super User

Hi,

Just in case you want a non visual calculation solution, try this measure

Measure = if([story points]=blank(),blank(),calculate([story points],datesytd(calendar[date])))

Arash_Bhz
Frequent Visitor

Hi Rondel, just add a visual filter and under ForTrend in the pane, Advanced Filter, select Is Not Blank.

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.