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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
kbansal
Frequent Visitor

Missing Values in Running Total | Animated Running Bar Chart

Hi Everyone,
 
I am working on an animated bar chart, and for that I created a running total measure. In my data, few 'Vendors' have no entry for some dates. And whenever a date is missing for a vendor then that vendor is totally getting dropped from the running bar chart. Can you please help
 
Running Total =
CALCULATE(
SUM('All Data'[Count]),
FILTER(
ALLSELECTED('All Data'),
'All Data'[DATESUBMITTED] <= MAX('All Data'[DATESUBMITTED]) && 'All Data'[VENDORNAME] = MAX('All Data'[VENDORNAME])
)
)
1 ACCEPTED SOLUTION
KNP
Super User
Super User

Hi @kbansal,

 

It is a common problem with running totals when the data is incomplete.

The best thing to do is tidy up the data. Start with a complete date range, from your date dimension ideally, and then merge >> left join the other data onto this. Make sure to replace the null values with zeros where appropriate and then the running totals should calculate as expected.

 

Hope this helps.

 

Regards,

Kim

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @kbansal ,

 

Does the replies above solve your problem? If it has been solved, please mark the correct reply as the standard answer to help the other members find it more quickly.Thank you very much for your kind cooperation!

 

Hope it helps,


Community Support Team _ Caitlyn

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

KNP
Super User
Super User

Hi @kbansal,

 

It is a common problem with running totals when the data is incomplete.

The best thing to do is tidy up the data. Start with a complete date range, from your date dimension ideally, and then merge >> left join the other data onto this. Make sure to replace the null values with zeros where appropriate and then the running totals should calculate as expected.

 

Hope this helps.

 

Regards,

Kim

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!
lbendlin
Super User
Super User

Please provide sanitized sample data that covers your issue, in usable format (not as a picture - inserting it into a table would be good) and show the expected outcome.

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.

Top Solution Authors