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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
Solution Supplier
Solution Supplier

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
Solution Supplier
Solution Supplier

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.